开发者

Compiler design, creating a language. How?

The Dragon book is a famous book for designing a compiler. Is there another book like开发者_Go百科 that or a great article about that? And what're the keywords about compilers? I wanna know how a new language is created.


There is a great book on implementing functional languages, just a little bit outdated: http://research.microsoft.com/en-us/um/people/simonpj/papers/pj-lester-book/

Another useful source (on languages in general, not just on compilation) is http://www.amazon.com/Theories-Programming-Languages-John-Reynolds/dp/0521594146


Writing Compilers and Interpreters, by Ronald Mack, is an excellent "practical" text that walks you through the important parts of a compiler and how they are constructed. The original edition was C, the second edition was C++, and the current edition is Java.

It is a much easier read than the Dragon Book.


This book gives you an overview of programming paradigms and may be useful: http://www.amazon.com/Concepts-Techniques-Models-Computer-Programming/dp/0262220695


If you are willing to go .NET: http://www.amazon.com/Build-Your-NET-Language-Compiler/dp/1590591348

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜