Concepts and Semantics of Programming Languages 1: A Semantical Approach with OCaml and Python - Archive ouverte HAL Access content directly
Books Year : 2021

Concepts and Semantics of Programming Languages 1: A Semantical Approach with OCaml and Python

Abstract

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, while also providing 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.
No file

Dates and versions

hal-03337156 , version 1 (07-09-2021)

Identifiers

Cite

Thérèse Hardin, Mathieu Jaume, François Pessaux, Véronique Viguié Donzeau-Gouge. Concepts and Semantics of Programming Languages 1: A Semantical Approach with OCaml and Python. ISTE Wiley, 2021, Print ISBN:9781786305305 |Online ISBN:9781119824121. ⟨10.1002/9781119824121⟩. ⟨hal-03337156⟩
117 View
0 Download

Altmetric

Share

Gmail Facebook X LinkedIn More