Concepts and Semantics of Programming Languages 1


A Semantical Approach with OCaml and Python

Concepts and Semantics of Programming Languages 1

Thérèse Hardin, Sorbonne University, France
Mathieu Jaume, Sorbonne University, France
François Pessaux, ENSTA Paris, France
Véronique Viguié Donzeau-Gouge, Conservatoire national des arts et métiers (Cnam Paris), France


ISBN : 9781786305305

Publication Date : June 2021

Hardcover 324 pp

165.00 USD

Co-publisher

Description


This book – the first of two volumes – explores the syntactical constructs of the most common programming languages, and sheds a mathematical light on their semantics, providing also an accurate presentation of the material aspects that interfere with coding.

Concepts and Semantics of Programming Languages 1 is dedicated to functional and imperative features. Included is the formal study of the semantics of typing and execution; their acquisition is facilitated by implementation into OCaml and Python, as well as by worked examples. Data representation is considered in detail: endianness, pointers, memory management, union types and pattern-matching, etc., with examples in OCaml, C and C++. The second volume introduces a specific model for studying modular and object features and uses this model to present Ada and OCaml modules, and subsequently Java, C++, OCaml and Python classes and objects.

This book is intended not only for computer science students and teachers but also seasoned programmers, who will find a guide to reading reference manuals and the foundations of program verification.

Contents


1. From Hardware to Software.
2. Introduction to Semantics of Programming Languages.
3. Semantics of Functional Features.
4. Semantics of Imperative Features.
5. Types.
6. Data Types.
7. Pointers and Memory Management.
8. Exceptions.

About the authors


Thérèse Hardin is Professor Emeritus at the Laboratoire d’Informatique de Paris 6 (LIP6), Sorbonne University, France.

Mathieu Jaume is a lecturer at the Laboratoire d’Informatique de Paris 6 (LIP6), Sorbonne University, France.

François Pessaux is Associate Professor in the Computer Science and Systems Engineering Unit (U2IS) of ENSTA Paris, France.

Véronique Viguié Donzeau-Gouge is Professor Emeritus at the Centre d’études et de recherche en informatique (CEDRIC) of the Conservatoire national des arts et métiers (Cnam Paris), France.

Related subject