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.
Return to the
comp.compilers page.
Search the
comp.compilers archives again.