Writing a Parser
Alan Knowles
alan at akbkhome.com
Wed Jan 9 22:48:59 PST 2008
I tried antlrd on debian, while I could get it to install (apt-get for
pure antlr) and download antlrd, All the examples resulted in an error
message:
#runantlr /tmp/SimpleC.g
/tmp/SimpleC.g:3:1: unexpected token: grammar
Which did not have any google results for potential reasons..
Regards
Alan
Frank Benoit wrote:
> Ap Lee schrieb:
>> Have you looked at ANTLR? I have used it for two projects and I am
>> quite impressed. It does not have a D backend, nor a D grammar AFAIK,
>> but if you are writing a parser, you might find a lot of the work has
>> been done for you already. If you go for antlr, I strongly recommend
>> the book advertized on the antlr.org page, I liked it very much.
>>
>> Good luck.
>
> I haven't tested it, but there is a Antlr D backend:
> http://www.mbutscher.de/antlrd/
More information about the Digitalmars-d-learn
mailing list