Re: Has anyone hand-written a scanner/parser module?

Bill Cox <bill@qswtools.com>
Sun, 16 Nov 2008 20:35:33 -0800

          From comp.compilers

Related articles
[4 earlier articles]
Re: Has anyone hand-written a scanner/parser module? jeremy.bennett@embecosm.com (Jeremy Bennett) (2008-11-16)
Re: Has anyone hand-written a scanner/parser module? barry.j.kelly@gmail.com (Barry Kelly) (2008-11-16)
Re: Has anyone hand-written a scanner/parser module? efutch@gmail.com (Egdares Futch) (2008-11-16)
Re: Has anyone hand-written a scanner/parser module? jgd@cix.compulink.co.uk (2008-11-16)
Re: Has anyone hand-written a scanner/parser module? idbaxter@semdesigns.com (Ira Baxter) (2008-11-16)
Re: Has anyone hand-written a scanner/parser module? rajamukherji@gmail.com (Raja Mukherji) (2008-11-16)
Re: Has anyone hand-written a scanner/parser module? bill@qswtools.com (Bill Cox) (2008-11-16)
Re: Has anyone hand-written a scanner/parser module? marcov@stack.nl (Marco van de Voort) (2008-11-17)
Re: Has anyone hand-written a scanner/parser module? dmaze@mit.edu (David Z Maze) (2008-11-17)
Re: Has anyone hand-written a scanner/parser module? gene.ressler@gmail.com (Gene) (2008-11-17)
Re: Has anyone hand-written a scanner/parser module? arnold@skeeve.com (2008-11-18)
Re: Has anyone hand-written a scanner/parser module? sh006d3592@blueyonder.co.uk (Stephen Horne) (2008-11-18)
Re: Has anyone hand-written a scanner/parser module? charlesb.cca@mpowercom.net (Charles E. Bortle, Jr.) (2008-11-18)
[9 later articles]
| List of all articles for this month |
From: Bill Cox <bill@qswtools.com>
Newsgroups: comp.compilers
Date: Sun, 16 Nov 2008 20:35:33 -0800
Organization: at&t http://my.att.net/
References: 08-11-061 08-11-073
Keywords: parse, lex, practice
Posted-Date: 17 Nov 2008 08:24:24 EST

Raja Mukherji wrote:
> On Nov 15, 5:49 pm, "tuxisthebirdfo...@gmail.com"
> <tuxisthebirdfo...@gmail.com> wrote:
>> I know most people anymore use lex/yacc or some derivative of these
>> tools to create scanner/parser modules for their compiler projects. I
>> was wondering if anyone has developed a scanner or parser that they
>> personally hand-wrote? ...


The current GNU C++ compiler has had a hand-written lexer and parser for
since version 3.x. The compiler is now at 4.3.2, Source code is
available from gcc.gnu.org through many mirrors.


The lexer is interesting because it has the C preprocessor as *its*
front end.



Post a followup to this message

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