LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   required packages for lex and yacc files (https://www.linuxquestions.org/questions/linux-newbie-8/required-packages-for-lex-and-yacc-files-942535/)

Akash007 04-30-2012 07:48 AM

required packages for lex and yacc files
 
what are the packages required to run or compile lex and yacc files on ubuntu?
how they are used?
what are there purpose?

knudfl 04-30-2012 08:00 AM

Welcome to LQ.

Installing a lexer and a parser : sudo apt-get install flex bison
... Will provide /usr/bin/flex , /usr/bin/bison.yacc .
http://packages.ubuntu.com/oneiric/flex
http://packages.ubuntu.com/oneiric/bison


And please use Google .. what is a lexer ..
http://en.wikipedia.org/wiki/Lex_%28software%29

Google .. what is a parser ..
http://en.wikipedia.org/wiki/Parsing
> http://en.wikipedia.org/wiki/GNU_bison

.


All times are GMT -5. The time now is 04:39 AM.