Get Free Shipping on orders over $79
Implementing Programming Languages. an Introduction to Compilers and Interpreters : Texts in Computing - Aarne Ranta

Implementing Programming Languages. an Introduction to Compilers and Interpreters

By: Aarne Ranta

Paperback | 9 May 2012

At a Glance

Paperback


$23.10

or 4 interest-free payments of $5.78 with

Ships in 5 to 7 business days

Implementing a programming language means bridging the gap from the programmer's high-level thinking to the machine's zeros and ones. If this is done in an efficient and reliable way, programmers can concentrate on the actual problems they have to solve, rather than on the details of machines. But understanding the whole chain from languages to machines is still an essential part of the training of any serious programmer. It will result in a more competent programmer, who will moreover be able to develop new languages. A new language is often the best way to solve a problem, and less difficult than it may sound.

This book follows a theory-based practical approach, where theoretical models serve as blueprint for actual coding. The reader is guided to build compilers and interpreters in a well-understood and scalable way. The solutions are moreover portable to different implementation languages. Much of the actual code is automatically generated from a grammar of the language, by using the BNF Converter tool. The rest can be written in Haskell or Java, for which the book gives detailed guidance, but with some adaptation also in C, C++, C#, or OCaml, which are supported by the BNF Converter.

The main focus of the book is on standard imperative and functional languages: a subset of C++ and a subset of Haskell are the source languages, and Java Virtual Machine is the main target. Simple Intel x86 native code compilation is shown to complete the chain from language to machine. The last chapter leaves the standard paths and explores the space of language design ranging from minimal Turing-complete languages to human-computer interaction in natural language.

More in Compilers & Interpreters

C# Programming in easy steps : Master C# fundamentals! - Mike McGrath
FORTRAN Programming in Easy Steps : In Easy Steps - Mike McGrath
Modern Compiler Design - Terence Halsey

$438.99

NUnit Pocket Reference : Pocket Reference (O'Reilly) - Bill Hamilton
Flex & Bison [With Access Code] : O'Reilly Ser. - John Levine

RRP $57.00

$22.00

61%
OFF
Applied Mathematics With F# - Sudipta Mukherjee
Language Implementation Patterns : Pragmatic Programmers - Terence Parr
Metaprogramming Elixir - Chris Mccord

RRP $32.35

$12.00

63%
OFF
Modern Systems Programming with Scala Native - Richard Whaling

RRP $87.35

$34.00

61%
OFF
Compilers : Principles, Techniques, and Tools - Alfred Aho
Compilers : A Practical Approach - James E Jr Miller
Definitive ANTLR 4 Reference : 2nd Edition - Terence Parr
Java For Dummies : Java for Dummies - Barry Burd

RRP $57.95

$48.75

16%
OFF
Compiler Design Using Kotlin⢠: An Object-Oriented Approach - John I. Moore