Ask your own question, for FREE!
Computer Science 16 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!
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!