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.
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
Who This Book Is For
- 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
Experienced programmers new to Lisp.
Gary Knott, PhD is founder/CEO of Civlized Inc., the makers of MLAB. He is also a professor, expert consultant in mathematical models with emphasis on applications of interest to the National Institute of Health (NIH). He was a computer scientist and programmer for the NIH as well.
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. LISP in C.