Good books for Interpreter and Compiler using C++? [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You 开发者_Go百科can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this questionI'm planning to write a simple interpreter ( like TI-BASIC language for TI-89 ) or compiler ( C compiler ) using C++. I'm currently taking a course about programming languages, and learning the basic of BNF, EBNF. I wonder is it good enough to start on this project? In addition, could anyone know some good books about this area? Any feedback would be greatly appreciated.
Thanks,
The Dragon Book is a must read if you want to write a compiler.
Everyone I know rants and raves about Modern Compiler Construction in C, although the Java version usually gets more credit. However if you want a more C++ focused book you can't go wrong with Writing Compiler and Interpreters.
精彩评论