[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Selective Compilation

From: Evan Lavelle
Subject: Re: Selective Compilation
Date: Mon, 07 Feb 2011 23:34:18 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv: Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7

On 07/02/2011 23:13, Tejas Kajarekar wrote:
Hi Martin,
If I understand your question correctly, here is a way to have multiple
scanners and parsers in the same program.

No, he's asking about using a subset of an existing grammar in a new parser.

Example: I have a language which includes a complex expression syntax. I also have a separate preprocessor for the same language, which uses exactly the same expression syntax. This means that I need to write two completely separate flex/bison files, and maintain both of them, even though one of them is a subset of the other one.

This would be a nice feature - I think it's been asked for before on this list.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]