This module defines the classes LReference, LListConstructor, LFunctionConstructor, along with global variables and some other stuff related to Lisp evaluation model.
Definition in file lisp.hpp.
#include "../sexpress/sexpress.hpp"
#include "../sexpress/iexcept.hpp"
Include dependency graph for lisp.hpp:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Functions | |
LReference | operator~ (const SReference &r) |
Lisp quotation. | |
Variables | |
typedef LReference(* | UserLispFunction )(int, const SReference *) |
A C++ function that can be used in Lisp expressions. | |
SReference * | PTheLispSymbolLambda |
Pointer to the LAMBDA symbol. | |
SReference * | PTheLispSymbolQuote |
Pointer to the QUOTE symbol. | |
SReference * | PTheLispSymbolFunction |
Pointer to the FUNCTION symbol. | |
SReference * | PTheLispBooleanTrue |
Pointer to a boolean true constant. | |
SReference * | PTheLispBooleanFalse |
Pointer to the boolean false object. |
|
Lisp quotation. As usual, operator~() is used in InteLib to represent Lisp apostrophe. This particular version is created for the case we try to quote an expression represented with SReference object, which has no operator~() |
|
A C++ function that can be used in Lisp expressions.
|
|
Pointer to the LAMBDA symbol.
Definition at line 112 of file lisp.cpp. Referenced by LSymbolLambda::LSymbolLambda(), and RetrieveFunctionObject(). |
|
Pointer to the QUOTE symbol.
Definition at line 113 of file lisp.cpp. Referenced by LSymbolQuote::LSymbolQuote(), LReference::operator~(), and LReference::TextRepresentation(). |
|
Pointer to the FUNCTION symbol.
Definition at line 114 of file lisp.cpp. Referenced by LSymbolFunction::LSymbolFunction(), LFunctionConstructor::operator^(), and LReference::TextRepresentation(). |
|
Pointer to a boolean true constant.
Definition at line 115 of file lisp.cpp. Referenced by LSymbolT::LSymbolT(). |
|
Pointer to the boolean false object.
Definition at line 116 of file lisp.cpp. Referenced by LReference::IsTrue(), LispContinuation::LispContinuation(), and LSymbolNIL::LSymbolNIL(). |