Re: Simple Recursive Decent Parser question

Hans-Peter Diettrich <>
7 Oct 2006 02:22:46 -0400

          From comp.compilers

Related articles
Simple Recursive Decent Parser question (2006-10-06)
Re: Simple Recursive Decent Parser question (Hans-Peter Diettrich) (2006-10-07)
| List of all articles for this month |

From: Hans-Peter Diettrich <>
Newsgroups: comp.compilers
Date: 7 Oct 2006 02:22:46 -0400
Organization: Compilers Central
References: 06-10-022
Keywords: parse, EBNF
Posted-Date: 07 Oct 2006 02:22:46 EDT wrote:

> 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.


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.