|help with EBNF grammar firstname.lastname@example.org (Paul Meaney) (2001-03-28)|
|Re: help with EBNF grammar email@example.com (William S. Lear) (2001-03-31)|
|Re: help with EBNF grammar firstname.lastname@example.org (Ralph Boland) (2001-03-31)|
|Re: help with EBNF grammar email@example.com (Mahesha N) (2001-03-31)|
|Re: help with EBNF grammar firstname.lastname@example.org (Raymond Limpus) (2001-03-31)|
|Re: help with EBNF grammar email@example.com (Mike Dimmick) (2001-03-31)|
|Re: help with EBNF grammar firstname.lastname@example.org (Barry Watson) (2001-04-04)|
|Re: help with EBNF grammar email@example.com (William S. Lear) (2001-04-04)|
|From:||"Mike Dimmick" <firstname.lastname@example.org>|
|Date:||31 Mar 2001 02:49:40 -0500|
|Posted-Date:||31 Mar 2001 02:49:40 EST|
"Paul Meaney" <email@example.com> wrote in message
> In searching the web I have hit on the idea of using the JavaCC
> and defining my own grammar in Extended Backus- Naur Form to turn the
> input expression into a Java statement. However all the online
> documentation for EBNF is for 2nd/ 3rd year computing courses and are
> heavily mathematical in nature. Given my background I find it really
> difficult to understand what is going on.
You've probably got hold of compiler and parsing theory information
there. One of the advantages of a parser generator (for example,
JavaCC) is of course that it takes away most of the pain of
understanding what's going on (unless you have to debug the tables, in
which case, understanding it is helpful!)
I would suggest a more practical textbook, such as "Modern Compiler
Design," by Grune, Bal, Jacobs and Langendoen, published in 2000 by
John Wiley & Sons (ISBN 0-471-97697-0).
This book has _way_ too much information for what you need it for, but
it approaches it in the right direction (to my mind).
Hope this helps,
Return to the
Search the comp.compilers archives again.