Ask your own question, for FREE!
Computer Science 12 Online
OpenStudy (divanshu):

what should i know to develop my own compiler ?

OpenStudy (anonymous):

well u need to know some theory on computer lenguage, specific in two things: grammars and regular expresion. Yoy need to know how to write grammars. Then with the help of a parser generator you can procces your lenguage and generatate assembly code or any other lenguage u want. if u like to code in java: http://www.antlr.org/ Or you can use jflex (lexxer) and java cups (parser generator) In C you can use yacc or just google for something else In Ruby there is Racc if you like functional leguages in haskell you can use Alex and Happy The more sofisticated your lenguage, u need to code more.

OpenStudy (anonymous):

i highly recommend the Compiler book also known as the Dragon Book. http://www.amazon.com/Compilers-Principles-Techniques-Alfred-Aho/dp/0201100886

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
2 days ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
2 days ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!