© Gary D. Knott 2017

Gary D. Knott, Interpreting LISP, 10.1007/978-1-4842-2707-7_18

18. More About Typed-Pointers

Gary D. Knott

(1)Civilized Software Inc., Silver Spring, Maryland, USA

In order to handle number atoms efficiently as values within the LISP interpreter, we have used pointers to numbers in sketching the working of the v operator. This use of pointers is also required to allow functions to be treated as values. The guiding idea is that the LISP interpreter needs to know, at least potentially, the name or lexical expression associated with any value being manipulated, and every such value is represented by a typed-pointer to some complete representation of that value.

In particular, then, a number must be represented in a way that permits ...

Get Interpreting LISP: Programming and Data Structures, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.