Re: Using Flex and Bison

"Girvo" <girvinator@gmail.com>
27 Oct 2005 23:27:16 -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: "Girvo" <girvinator@gmail.com>
Newsgroups: comp.compilers
Date: 27 Oct 2005 23:27:16 -0400
Organization: http://groups.google.com
References: 05-10-15505-10-170
Keywords: lex, yacc, question, comment
Posted-Date: 27 Oct 2005 23:27:16 EDT

toby wrote:
> girvinator@gmail.com wrote:
> > Hi there everyone.
> > ...
> >
> > Also, does anyone know of a good tutorial that I could read, that will
> > actually COMPILE! All of the ones I have read have needed MAJOR changes
> > to even attempt to compile!
>
> '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.
[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.