Related articles |
---|
Has anyone hand-written a scanner/parser module? tuxisthebirdforme@gmail.com (tuxisthebirdforme@gmail.com) (2008-11-15) |
Re: Has anyone hand-written a scanner/parser module? echristo@gmail.com (Eric Christopher) (2008-11-15) |
Re: Has anyone hand-written a scanner/parser module? felipeangriman@gmail.com (Felipe Angriman) (2008-11-15) |
Re: Has anyone hand-written a scanner/parser module? mailbox@dmitry-kazakov.de (Dmitry A. Kazakov) (2008-11-16) |
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) |
[16 later articles] |
From: | "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> |
Newsgroups: | comp.compilers |
Date: | Sun, 16 Nov 2008 10:20:08 +0100 |
Organization: | cbb software GmbH |
References: | 08-11-061 |
Keywords: | lex, parse, practice |
Posted-Date: | 16 Nov 2008 17:52:15 EST |
On Sat, 15 Nov 2008 09:49:38 -0800 (PST), 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?
I did, a table-driven parser.
> If so, I would like to know what language you
> used and what type of grammar you parsed.
Do you mean the language in which the parser was written, or the
language[s] being parsed?
Anyway, it is not based on any grammar. Of course, one could try to figure
out a more or less exact class of grammars it can handle. But I am too lazy
to do it.
> If you feel divulgent,
> please tell me a little bit about you're implementation or what you
> did for intermediate representation. I'm curious and just a bit nosy
> and would like to know how you're experience went doing things this
> way.
The source is free:
http://www.dmitry-kazakov.de/ada/components.htm#Parsers_etc
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
Return to the
comp.compilers page.
Search the
comp.compilers archives again.