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
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …
book
Modern C
Modern C introduces you to modern day C programming, emphasizing the unique and new features of …
book
Essential Algorithms, 2nd Edition
A friendly introduction to the most useful algorithms written in simple, intuitive English The revised and …
book
Getting Clojure
Behind every programming language lies a vision of how programs should be built. The vision behind …