Skip to Content
Programming Languages: Concepts and Implementation
book

Programming Languages: Concepts and Implementation

by Saverio Perugini
December 2021
Beginner
840 pages
47h 29m
English
Jones & Bartlett Learning
Content preview from Programming Languages: Concepts and Implementation

5.16 Chapter Summary

This chapter introduced readers to functional programming through the Scheme programming language. We established that a recursive thought process toward function conception and implementation is an essential tenet of functional programming. We studied λ-expressions; the definition of recursive functions; and cons cells, lists, and S-expressions. We studied the use of the cons cell as a primitive for building data structures, which we defined using BNF. Data structures and the functions that manipulate them are natural reflections of each other—the BNF grammar for the data structure provides a pattern for the function definition. We also explored improved program readability and local binding through let, let*, and letrec ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Concepts and Semantics of Programming Languages 1

Concepts and Semantics of Programming Languages 1

Therese Hardin, Mathieu Jaume, Francois Pessaux, Veronique Viguie Donzeau-Gouge
Programming C# 10

Programming C# 10

Ian Griffiths

Publisher Resources

ISBN: 9781284222739