bison/flex grammar

"christian visticot" <chvist@club-internet.fr>
3 Sep 2002 00:29:25 -0400

          From comp.compilers

Related articles
bison/flex grammar chvist@club-internet.fr (christian visticot) (2002-09-03)
Re: bison/flex grammar robert.f.monroe@verizon.net (Robert Monroe) (2002-09-08)
Re: bison/flex grammar pjj@cs.man.ac.uk (Pete Jinks) (2002-09-08)
Re: bison/flex grammar robert.f.monroe@verizon.net (Robert Monroe) (2002-09-11)
| List of all articles for this month |

From: "christian visticot" <chvist@club-internet.fr>
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

Hello,
I try to parse a file like following:


description=a super example keywords=value1 value2


and the result would be:


attribute:description
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.
Thanks
Fred


Post a followup to this message

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