LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 03-15-2006, 08:02 AM   #1
vagrahb
LQ Newbie
 
Registered: Mar 2006
Posts: 1

Rep: Reputation: 0
Question lex and yacc tools ?


Hi,
I have just installed mandriva 2006 and i am not able to locate the lex and yacc tools.If i try to compile a lex program I am getting a error telling lex command not found.So could someone let me know what i am missing here and which rpm i need to install.Thanks in advace.

Regards,
Bhargav.
 
Old 03-15-2006, 02:52 PM   #2
taylor_venable
Member
 
Registered: Jun 2005
Location: Indiana, USA
Distribution: OpenBSD, Ubuntu
Posts: 892

Rep: Reputation: 40
For Berkeley Yacc: http://rpms.mandrivaclub.com/search....arch+...&arch=
For GNU Flex: http://rpms.mandrivaclub.com/search....arch+...&arch=

(GNU Flex is a free lex.)
 
Old 05-17-2006, 12:59 AM   #3
ankit4u1
Member
 
Registered: Apr 2006
Distribution: Red Hat, Fedora
Posts: 97

Rep: Reputation: 15
Help needed regarding lex and yacc , also grammar

hey i am also new to lex and yacc

I have fd2. flex and bison are the tools.
I have been allotted a project on lex and yacc. DESIGN OF A COMPILER SUPPORTING SET OPERATIONS.

Can any1 plzz plzz help me. Or else i am gonno flunk. I look forward to yr suggestions.

The main thing is that i don't know how to make grammar for set operations..i mean no idea at all.

Please help me !!!

Hope to get a reply from you soon. Thank you.

Ankit Parikh
 
Old 05-17-2006, 09:12 AM   #4
taylor_venable
Member
 
Registered: Jun 2005
Location: Indiana, USA
Distribution: OpenBSD, Ubuntu
Posts: 892

Rep: Reputation: 40
We cannot do your school work for you. The amount of knowledge you gain by doing it yourself will be well worth it; if you have someone else do it for you, you will learn nothing. Surely you have been specified a text book, and the internet contains a plethora of information that will help. I'm sure you'll be alright if you work hard and use properly the tools at your disposal.
 
Old 05-19-2006, 01:38 PM   #5
ankit4u1
Member
 
Registered: Apr 2006
Distribution: Red Hat, Fedora
Posts: 97

Rep: Reputation: 15
I do not need full solution of my project

hi taylor,

U are absolutely right and i agree with you. But the fact is that I dont have time to explore this stuff as I have my university final exams approaching soon. And I have been allotted this project with just 30 more days to go. I do not need whole solution. I just need few ideas, so that more innovative and create ideas sprout in my mind. I know that you all are experts at this field.

However, if you feel that I am still on the wrong path, never mind. If u think so, plz don't help buddy. I had many expectations and that y i posted this thread. Lemme clear once again, I do not need full solution of my project.

I hope u understand. In case i sound rude, plz don't misunderstand me.

I would welcome suggestions. Thank you

"There's nothing IMPOSSIBLE in this world , because IMPOSSIBLE itself spells that I M POSSIBLE"
 
  


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
does ubuntu have lex and yacc,how to use them?? akshay_jp Linux - Software 4 05-26-2010 06:36 PM
LEX and YACC with C gr33ndata Programming 4 11-18-2007 05:12 PM
Lex and Yacc on Federo 2.0 vivekian Fedora 6 05-20-2006 09:09 AM
Lex and Yacc on Mandrake 9.2.2 Anuradha Linux - Software 0 07-02-2005 03:32 AM
Lex & YACC coolfrog Programming 3 09-25-2004 07:00 AM


All times are GMT -5. The time now is 09:43 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration