LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   designing C Compiler in linux.lexical analysis is done through lex and yacc tool (https://www.linuxquestions.org/questions/linux-software-2/designing-c-compiler-in-linux-lexical-analysis-is-done-through-lex-and-yacc-tool-672250/)

aashish 09-25-2008 03:52 AM

designing C Compiler in linux.lexical analysis is done through lex and yacc tool
 
hi friends,

i am working on project of designing C Compiler in linux.
first stage is lexical analysis and is done through lex and yacc tool.
next comes syntax analysis and then code generation.

I want code for lexical amalysis,syntax analysis and code generation. code is written in C language in linux .

jf.argentino 09-25-2008 05:46 AM

So what is your problem? lex and yacc are open sourced, so you just have to get their sources from their respective home sites. More over, you can take a look to the GCC source too.

knudfl 09-25-2008 10:42 AM

Welcome to Linux Questions.

.. And keyword for google .. write compiler ..
http://www.google.com/search?hl=en&q...=Google+Search

Good luck.


All times are GMT -5. The time now is 10:18 AM.