© 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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.