Foundations of Programming Languages, 2nd Edition Front Cover

Foundations of Programming Languages, 2nd Edition

  • Length: 370 pages
  • Edition: 2nd ed. 2017
  • Publisher:
  • Publication Date: 2018-01-11
  • ISBN-10: 3319707892
  • ISBN-13: 9783319707891
  • Sales Rank: #579234 (See Top 100 Books)
Description

This clearly written textbook provides an accessible introduction to the three programming paradigms of object-oriented/imperative, functional, and logic programming. Highly interactive in style, the text encourages learning through practice, offering test exercises for each topic covered. Review questions and programming projects are also presented, to help reinforce the concepts outside of the classroom. This updated and revised new edition features new material on the Java implementation of the JCoCo virtual machine.

Topics and features: includes review questions and solved practice exercises, with supplementary code and support files available from an associated website; presents an historical perspective on the models of computation used in implementing the programming languages used today; provides the foundations for understanding how the syntax of a language is formally defined by a grammar; illustrates how programs execute at the level of assembly language, through the implementation of a stack-based Python virtual machine called JCoCo and a Python disassembler; introduces object-oriented languages through examples in Java, functional programming with Standard ML, and programming using the logic language Prolog; describes a case study involving the development of a compiler for the high level functional language Small, a robust subset of Standard ML.

Undergraduate students of computer science will find this engaging textbook to be an invaluable guide to the skills and tools needed to become a better programmer. While the text assumes some background in an imperative language, and prior coverage of the basics of data structures, the hands-on approach and easy to follow writing style will enable the reader to quickly grasp the essentials of programming languages, frameworks, and architectures.

Table of Contents

Chapter 1 Introduction
Chapter 2 Syntax
Chapter 3 Assembly Language
Chapter 4 Object-Oriented Programming
Chapter 5 Functional Programming
Chapter 6 Compiling Standard Ml
Chapter 7 Logic Programming
Chapter 8 Standard Ml Type Inference
Chapter 9 Appendix A: The Jcoco Virtual Machine Specification
Chapter 10 Appendix B: The Standard Ml Basis Library

To access the link, solve the captcha.