miqbal
miqbal

Reputation: 2227

Compiler design, creating a language. How?

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

Upvotes: 1

Views: 822

Answers (4)

Gregory A Beamer
Gregory A Beamer

Reputation: 17010

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

Upvotes: 0

mrzasa
mrzasa

Reputation: 23317

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

Upvotes: 0

SK-logic
SK-logic

Reputation: 9715

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

Upvotes: 1

Joe Zitzelberger
Joe Zitzelberger

Reputation: 4263

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.

Upvotes: 0

Related Questions