LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-30-2012, 08:48 AM   #1
Akash007
LQ Newbie
 
Registered: Apr 2012
Posts: 4

Rep: Reputation: Disabled
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?
 
Old 04-30-2012, 09:00 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
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

.

Last edited by knudfl; 04-30-2012 at 09:08 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Lex and YACC under C++ namespace MTK358 Programming 1 04-23-2011 06:27 AM
lex and yacc aarsh Linux - Software 3 01-03-2011 09:58 AM
Lex/YACC Question MTK358 Programming 147 03-29-2010 08:05 AM
LEX and YACC with C gr33ndata Programming 4 11-18-2007 06:12 PM
Lex & YACC coolfrog Programming 3 09-25-2004 08:00 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration