Book description
Learn Lisp programming in a data structures context, including tables, functions, forms, expressions, typed-pointers, I/O, garbage collection and some applications. This short primer contains a careful description of the data structures manipulated by Lisp functions. These data structures and others, notably hash tables, are also used in constructing a Lisp interpreter.
Interpreting Lisp will be of special interest to those learning and using programming languages and computer architecture as well as data structures. This book will be useful to autodidacts, professional programmers, and computer enthusiasts in a wide variety of fields.
What You'll Learn
Use the atom table and the number table in Lisp
Master expressions, typed pointers, arguments and results in typed pointers, and more
Write lambda expressions in Lisp
Bind actual values to formal arguments
Develop games in Lisp
Who This Book Is For
Experienced programmers new to Lisp.
Table of contents
- Cover
- Frontmatter
- 1. LISP
- 2. The Atom Table and the Number Table
- 3. Evaluation
- 4. Some Functions and Special Forms
- 5. S-Expressions
- 6. Typed-Pointers
- 7. Pictorial Notation
- 8. More Functions
- 9. Arguments and Results Are Typed-Pointers
- 10. List Notation
- 11. More Special Forms
- 12. Defining Functions: λ-Expressions
- 13. More Functions
- 14. Defining Special Forms
- 15. The Label Special Form
- 16. The Quote Macro
- 17. More Functions
- 18. More About Typed-Pointers
- 19. Binding Actual Values to Formal Arguments
- 20. Minimal LISP
- 21. More Functions
- 22. Input and Output
- 23. Property Lists
- 24. What Is LISP Good for?
- 25. Symbolic Differentiation
- 26. Game Playing
- 27. The LISP Interpreter Program
- 28. Garbage Collection
- 29. The lispinit File, the linuxenv.h File, and the Makefile File
- Backmatter
Product information
- Title: Interpreting LISP: Programming and Data Structures, Second Edition
- Author(s):
- Release date: June 2017
- Publisher(s): Apress
- ISBN: 9781484227060
You might also like
book
Programming Algorithms in Lisp: Writing Efficient Programs with Examples in ANSI Common Lisp
Master algorithms programming using Lisp, including the most important data structures and algorithms. This book also …
book
Functional Python Programming - Second Edition
Create succinct and expressive implementations with functional programming in Python About This Book Learn how to …
book
Practical Common Lisp
...it has a fresh view on the language and the examples in the later chapters are …
video
Learning Haskell Programming
Haskell is a powerful and well-designed functional programming language designed to work with complex data. Its …