Re: Simple Recursive Decent Parser question

Hans-Peter Diettrich <DrDiettrich1@aol.com>
7 Oct 2006 02:22:46 -0400

          From comp.compilers

Related articles
Simple Recursive Decent Parser question typingcat@gmail.com (2006-10-06)
Re: Simple Recursive Decent Parser question DrDiettrich1@aol.com (Hans-Peter Diettrich) (2006-10-07)
| List of all articles for this month |
From: Hans-Peter Diettrich <DrDiettrich1@aol.com>
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

typingcat@gmail.com 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.


DoDi



Post a followup to this message

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