XWe have detected your location as outside the U.S/Canada, if you think this is wrong, you can choose your location.

Macmillan Higher Education

Programming Language Concepts (2nd Edition)

Author(s):
Publisher:

Springer

Pages: 341
Further Actions:

Recommend to library

AVAILABLE FORMATS

Paperback - 9783319607887

12 September 2017

$69.99

In stock

Ebook - 9783319607894

31 August 2017

$69.99

In stock

This book uses a functional programming language (F#) as a metalanguage to present all concepts and examples, and thus has an operational flavour, enabling practical experiments and exercises. It includes basic concepts such...

Show More

This book uses a functional programming language (F#) as a metalanguage to present all concepts and examples, and thus has an operational flavour, enabling practical experiments and exercises. It includes basic concepts such as abstract syntax, interpretation, stack machines, compilation, type checking, garbage collection, and real machine code. Also included are more advanced topics on polymorphic types, type inference using unification, co- and contravariant types, continuations, and backwards code generation with on-the-fly peephole optimization. 

This second edition includes two new chapters. One describes compilation and type checking of a full functional language, tying together the previous chapters. The other describes how to compile a C subset to real (x86) hardware, as a smooth extension of the previously presented compilers.The examples present several interpreters and compilers for toy languages, including compilers for a small but usable subset of C, abstract machines, a garbage collector, and ML-style polymorphic type inference.  Each chapter has exercises.  

Programming Language Concepts covers practical construction of lexers and parsers, but not regular expressions, automata and grammars, which are well covered already.  It discusses the design and technology of Java and C# to strengthen students’ understanding of these widely used languages.

Show Less

This is the first programming language concepts and compiler book based on the functional language F&##60;/p>

Topics covered include language design, implementation and performance consequences for the mainstream object-orientated languages Java and C&##60;/p>

Relates the C language and its compilation, both to an abstract stack machine and to real x86 hardware

Exercises inside with full source code for examples and concepts permit experimentation

Introduction
Interpreters and Compilers
From Concrete Syntax to Abstract Syntax
A First-Order Functional Language
Higher-Order Functions
Polymorphic Types
Imperative Languages
Compiling Micro-C
Real-World Abstract Machines
Garbage Collection
Continuations
A Locally Optimizing Compiler
Compiling Micro-SML
Real Machine Code
A Crash Course in F#.

Add a review

Peter Sestoft is professor and head of department at the IT University of Copenhagen. He has 25 years teaching experience and his research interests include functional and object-oriented programming languages, the implementation of such languages, and parallel programming on multicore machines. He is the author or co-author of six books published by MIT Press, Morgan Kaufmann, Prentice-Hall and Springer.

Show More

Peter Sestoft is professor and head of department at the IT University of Copenhagen. He has 25 years teaching experience and his research interests include functional and object-oriented programming languages, the implementation of such languages, and parallel programming on multicore machines. He is the author or co-author of six books published by MIT Press, Morgan Kaufmann, Prentice-Hall and Springer.

Show Less

New Publications 

Best Sellers