|Simple Recursive Decent Parser question email@example.com (2006-10-06)|
|Re: Simple Recursive Decent Parser question DrDiettrich1@aol.com (Hans-Peter Diettrich) (2006-10-07)|
|From:||Hans-Peter Diettrich <DrDiettrich1@aol.com>|
|Date:||7 Oct 2006 02:22:46 -0400|
|Posted-Date:||07 Oct 2006 02:22:46 EDT|
> I'm writing a recursive decent parser for a language called c- for a
> school project. Is it OK to merge two or more EBNF rules into one rule
> (to reduce the number of functions)?
This depends (only) on the kind/definition of EBNF you're using. If you
have an translator into BNF, you can compare the results of your
modifications to the grammar, on BNF level.
Return to the
Search the comp.compilers archives again.