Hi masters :)
I want to run LEX and YACC programs in Linux but these are need to be installed before.
So can u guys just tell me step by step procedure to install me
I'm using openSUSE-11.3-GNOME-LiveCD-i686
Help me out
Thank You

Recommended Answers

sudo apt-get install flex bison
bison is a compiler-generator compatible with Yacc.
and flex for lex

Jump to Post

All 2 Replies

sudo apt-get install flex bison
bison is a compiler-generator compatible with Yacc.
and flex for lex

Usually flex and bison are installed by default on Linux systems. Try the commands "which flex" and "which bison" to see if they are already installed.

And to help your education, Lex is short for "Lexical Analyzer", and YACC is short for "Yet Another Compiler Compiler"... :-)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.