Re: Using Flex and Bison

"toby" <toby@telegraphics.com.au>
29 Oct 2005 21:26:50 -0400

          From comp.compilers

Related articles
Using Flex and Bison girvinator@gmail.com (2005-10-23)
Re: Using Flex and Bison haberg@math.su.se (2005-10-26)
Re: Using Flex and Bison toby@telegraphics.com.au (toby) (2005-10-26)
Re: Using Flex and Bison girvinator@gmail.com (Girvo) (2005-10-27)
Re: Using Flex and Bison toby@telegraphics.com.au (toby) (2005-10-29)
| List of all articles for this month |

From: "toby" <toby@telegraphics.com.au>
Newsgroups: comp.compilers
Date: 29 Oct 2005 21:26:50 -0400
Organization: http://groups.google.com
References: 05-10-15505-10-193
Keywords: lex, yacc, comment

Girvo wrote:
> toby wrote:
> > ...
> > 'info flex' and 'info bison' are valuable introductions - also see:
> > http://www.gnu.org/software/flex/manual/ &
> > http://www.gnu.org/software/bison/manual/
> >
> > I have an example flex/bison project here that should build easily:
> > http://www.telegraphics.com.au/svn/exprparser/trunk/
>
> Also, what is the bset compiler to use? GCC? I am using Dev-C++ and it
> comes up with errors for any Lex of YACC file i compile.


(According to http://www.bloodshed.net/devcpp.html) Dev-C++ is MinGW
based, which means it is in fact gcc. I have built flex/bison projects
with MinGW, native gcc, CodeWarrior, Motorola mrc, and probably others.


--Toby


> [Lex and yacc produce quite portable C. I suspect there are errors in
> your action code. -John]


Post a followup to this message

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