LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   lex and yacc tools ? (https://www.linuxquestions.org/questions/programming-9/lex-and-yacc-tools-425042/)

vagrahb 03-15-2006 08:02 AM

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.

taylor_venable 03-15-2006 02:52 PM

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.)

ankit4u1 05-17-2006 12:59 AM

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

taylor_venable 05-17-2006 09:12 AM

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.

ankit4u1 05-19-2006 01:38 PM

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"


All times are GMT -5. The time now is 08:53 PM.