On 8 Feb 2011, at 13:24, Akim Demaille wrote:
>>> 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 includ
Le 8 févr. 2011 à 00:34, Evan Lavelle a écrit :
> 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
flex + bison system for an embedded system
> > for which I needed selective compilation -- different systems needed
> > different language subsets of my flex and bison files. I threw together
> > a solution using the C preprocessor to selective compile in only the
> > relevant
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 comp
a flex + bison system for an embedded system
> for which I needed selective compilation -- different systems needed
> different language subsets of my flex and bison files. I threw together
> a solution using the C preprocessor to selective compile in only the
> relevant stuff. It i
some time ago I designed a flex + bison system for an embedded system
> for which I needed selective compilation -- different systems needed
> different language subsets of my flex and bison files. I threw together
> a solution using the C preprocessor to selective compile in only the
Hi,
some time ago I designed a flex + bison system for an embedded system
for which I needed selective compilation -- different systems needed
different language subsets of my flex and bison files. I threw together
a solution using the C preprocessor to selective compile in only the
relevant