Re: Lex surrogates

pardo@june.cs.washington.edu (David Keppel)
11 Feb 89 02:52:35 GMT

          From comp.compilers

Related articles
[2 earlier articles]
Re: Lex surrogates vern@pistachio.ee.lbl.gov (Vern Paxson) (1989-02-06)
Re: Lex surrogates rsalz@BBN.COM (Rich Salz) (1989-02-07)
Re: Lex surrogates wpl@PRC.Unisys.COM (1989-02-06)
Re: Lex surrogates ken@cs.rochester.edu (Ken Yap) (1989-02-09)
Re: Lex surrogates mike@arizona.edu (1989-02-09)
Re: Lex surrogates tower@bu-cs.BU.EDU (1989-02-10)
Re: Lex surrogates pardo@june.cs.washington.edu (1989-02-11)
Re: Lex surrogates henry@zoo.toronto.edu (Henry Spencer) (1989-02-11)
Re: Lex surrogates holt@turing.toronto.edu (Ric Holt) (1989-02-13)
Re: Lex surrogates henry@zoo.toronto.edu (1989-02-16)
Re: Lex surrogates gmdka!grosch@unido.irb.informatik.uni-dortmund.de (1989-02-17)
| List of all articles for this month |

From: pardo@june.cs.washington.edu (David Keppel)
Newsgroups: comp.compilers
Date: 11 Feb 89 02:52:35 GMT
References: <3290@ima.ima.isc.com> <3311@ima.ima.isc.com>
Organization: U of Washington, Computer Science, Seattle

>"Douglas C. Schmidt" <schmidt@ORION.CF.UCI.EDU> writes:
>|[Gnu C compilers use a hand coded lexer.]


tower@bu-cs.BU.EDU (Leonard H. Tower Jr.) writes:
>[GNU is distributing FLEX]
>Lexers do have use outside of compilers ... ;-}


Since this is comp.compilers ...


Compilers have uses outside of programming languages. Or put another
way, compilers (and compiler pieces, and interpreters, ...) are useful
for writing ``little languages''. A formal lexer and parser is often
far more reliable than an ad-hoc parser. Remember, the keystrokes you
type to your editor are both (a) a programing language and (b) get
parsed and executed.


Jeekers.
--
pardo@cs.washington.edu
        {rutgers,cornell,ucsd,ubc-cs,tektronix}!uw-beaver!june!pardo
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.