9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Geoff Collyer <geoff@collyer.net>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] gcc/plan9
Date: Wed, 16 Jul 2003 17:35:02 -0700	[thread overview]
Message-ID: <13fdf88296c90ea01a2defa55e0326c6@collyer.net> (raw)
In-Reply-To: <006c01c34bf8$92c718c0$b9844051@insultant.net>

Good point; I rarely use scanf myself.  I have implemented it as part
of a larger stdio implementation though, and didn't take it too
seriously at first, since I don't really use it and I hadn't seen it
used much (e.g., if you grep the V7 source tree for it, there are few
or no uses of it).  One of my early testers countered that scanf was
used `everywhere'; it turns out that X11 uses it heavily.

Speaking of scanners, I found that somebody has modified flex to scan
Unicode input (and cranked up the table sizes appropriately).  I'm
wondering if it's worth modifying it further to scan UTF-8 instead so
it could be used instead of the sorts of tricks I've used to make lex
scan UTF-8.



  reply	other threads:[~2003-07-17  0:35 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-16  7:34 pac
2003-07-17  0:10 ` Geoff Collyer
2003-07-17  0:15   ` boyd, rounin
2003-07-17  0:35     ` Geoff Collyer [this message]
2003-07-17  0:49       ` boyd, rounin
2003-07-17  2:07       ` Russ Cox
2003-07-17  2:22         ` Dan Cross
2003-07-17  2:33           ` William Josephson
2003-07-17  2:44             ` Dan Cross
2003-07-17  2:57               ` boyd, rounin
2003-07-17  2:59             ` Skip Tavakkolian
2003-07-18  8:45           ` Clint Olsen
2003-07-18  9:14             ` boyd, rounin
2003-07-18  9:20               ` boyd, rounin
2003-07-18 17:38                 ` Clint Olsen
2003-07-18 20:39                   ` boyd, rounin
2003-07-18 21:05                     ` Jack Johnson
2003-07-18 22:12                       ` northern snowfall
2003-07-21  8:27                       ` Douglas A. Gwyn
2003-07-17  2:31       ` William Josephson
2003-07-17  0:24   ` boyd, rounin
2003-07-17  0:40   ` boyd, rounin
2003-07-18 11:55 pac

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=13fdf88296c90ea01a2defa55e0326c6@collyer.net \
    --to=geoff@collyer.net \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).