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

Marco van de Voort <marcov@stack.nl>
Mon, 17 Nov 2008 08:47:38 +0000 (UTC)

          From comp.compilers

Related articles
[5 earlier articles]
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)
Re: Has anyone hand-written a scanner/parser module? r3jjs@yahoo.com (Jeremy J Starcher) (2008-11-19)
[8 later articles]
| List of all articles for this month |
From: Marco van de Voort <marcov@stack.nl>
Newsgroups: comp.compilers
Date: Mon, 17 Nov 2008 08:47:38 +0000 (UTC)
Organization: Stack Usenet News Service
References: 08-11-061
Keywords: parse, lex, practice
Posted-Date: 17 Nov 2008 08:25:34 EST

On 2008-11-15, tuxisthebirdforme@gmail.com <tuxisthebirdforme@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?


Afaik gcc (per 3.4?) nowadays also employs a handwritten RD parser. Afaik
for the same reasons that Barry names.


The parser/lexer for the largely Delphi compatible Open Source Free Pascal
is also handwritten, though not as integrated with (lazarus) intellisense as
Delphi is rumoured to be.


Since the Borland originating Pascal dialects have a limited preprocessor
integrated, effectively it is lexer-preprocessor-parser.


The parser is written in the dialect it parses.



Post a followup to this message

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