
Java 语言处理器
Programming language processors in Java
David A. Watt、Deryck F. Brown、David Watt、Deryck Brown · 初版 2000 年
2人推荐
2位读者提及
2次提及
“本书循序渐进地介绍了利用面向对象编程语言Java,通过compilers和interpreters实现编程语言的技术。本书旨在讲解构建compilers和interpreters所需具体技术的同时,示范良好的软件工程原则。”——封套简介。
Hacker News 上怎么说
正在加载完整评论……
……Compiler Implementation in ML(我不太喜欢 C/Java 版本)https://www.amazon.com/Modern-Compiler-Implementation-Andrew... 如果你精通某种主流的面向对象语言——Java、C#、Ruby 等,推荐《Programming Language Processors in Java: Compilers and Interpreters》(里面的代码是用 Java 写的,但可以很容易地移植到任何面向对象语言)https://www.amazon.com/Programming-Language-Processors-Java-... 大多数编译器编程的书籍……
…Compiler Implementation in ML (I'm not a fan of the C/Java versions) https://www.amazon.com/Modern-Compiler-Implementation-Andrew... If you are fluent in a mainstream OO language - Java, C#, Ruby etc Programming Language Processors in Java: Compilers and Interpreters ( the code is in Java but can be trivially ported into any OO language ) https://www.amazon.com/Programming-Language-Processors-Java-... Most compiler programming books…
1. 《Programming Language Processors in Java: Compilers and Interpreters》http://www.dcs.gla.ac.uk/~daw/books/PLPJ/ 2. 《The definitive ANTLR reference》http://www.pragprog.com/titles/tpantlr 第 1 本很好地向你介绍了如何编写 parser……
1. Programming Language Processors in Java: Compilers and Interpreters http://www.dcs.gla.ac.uk/~daw/books/PLPJ/ 2. The definitive ANTLR reference http://www.pragprog.com/titles/tpantlr 1. gives you a good introduction in how to write parsers…