bison/flex grammar

"christian visticot" <>
3 Sep 2002 00:29:25 -0400

          From comp.compilers

Related articles
bison/flex grammar (christian visticot) (2002-09-03)
Re: bison/flex grammar (Robert Monroe) (2002-09-08)
Re: bison/flex grammar (Pete Jinks) (2002-09-08)
Re: bison/flex grammar (Robert Monroe) (2002-09-11)
| List of all articles for this month |

From: "christian visticot" <>
Newsgroups: comp.compilers
Date: 3 Sep 2002 00:29:25 -0400
Organization: Club-Internet / T-Online France
Keywords: yacc, question
Posted-Date: 03 Sep 2002 00:29:25 EDT

I try to parse a file like following:

description=a super example keywords=value1 value2

and the result would be:

values:a super example

attribute keywords
values: value1 value2

I dont know how to write bison/flex files to obtain this result ????

Any help would be nice for me.

Post a followup to this message

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