Implementing Programming Languages

Implementing Programming Languages
Author :
Publisher :
Total Pages : 224
Release :
ISBN-10 : 1848900643
ISBN-13 : 9781848900646
Rating : 4/5 (43 Downloads)

Book Synopsis Implementing Programming Languages by : Aarne Ranta

Download or read book Implementing Programming Languages written by Aarne Ranta and published by . This book was released on 2012 with total page 224 pages. Available in PDF, EPUB and Kindle. Book excerpt: 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.


Implementing Programming Languages Related Books

Implementing Programming Languages
Language: en
Pages: 224
Authors: Aarne Ranta
Categories: Computers
Type: BOOK - Published: 2012 - Publisher:

DOWNLOAD EBOOK

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 effi
Programming Language Processors in Java
Language: en
Pages: 470
Authors: David Anthony Watt
Categories: Computers
Type: BOOK - Published: 2000 - Publisher: Pearson Education

DOWNLOAD EBOOK

This book provides a gently paced introduction to techniques for implementing programming languages by means of compilers and interpreters, using the object-ori
Introduction to Compiler Design
Language: en
Pages: 204
Authors: Torben Ægidius Mogensen
Categories: Computers
Type: BOOK - Published: 2011-08-02 - Publisher: Springer Science & Business Media

DOWNLOAD EBOOK

This textbook is intended for an introductory course on Compiler Design, suitable for use in an undergraduate programme in computer science or related fields. I
Programming Language Processors
Language: en
Pages: 452
Authors: David Anthony Watt
Categories: Computers
Type: BOOK - Published: 1993 - Publisher:

DOWNLOAD EBOOK

Build Your Own Programming Language
Language: en
Pages: 495
Authors: Clinton L. Jeffery
Categories: Computers
Type: BOOK - Published: 2021-12-31 - Publisher: Packt Publishing Ltd

DOWNLOAD EBOOK

Written by the creator of the Unicon programming language, this book will show you how to implement programming languages to reduce the time and cost of creatin