Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

lisp.hpp File Reference


Detailed Description

The primary classes for the Lisp evaluation model.

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.
SReferencePTheLispSymbolLambda
 Pointer to the LAMBDA symbol.
SReferencePTheLispSymbolQuote
 Pointer to the QUOTE symbol.
SReferencePTheLispSymbolFunction
 Pointer to the FUNCTION symbol.
SReferencePTheLispBooleanTrue
 Pointer to a boolean true constant.
SReferencePTheLispBooleanFalse
 Pointer to the boolean false object.


Function Documentation

LReference operator~ const SReference r  ) 
 

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~()

Definition at line 195 of file lisp.hpp.


Variable Documentation

class typedef LReference(* UserLispFunction)(int, const SReference *)
 

A C++ function that can be used in Lisp expressions.

Definition at line 35 of file lisp.hpp.

SReference* PTheLispSymbolLambda
 

Pointer to the LAMBDA symbol.

Definition at line 112 of file lisp.cpp.

Referenced by LSymbolLambda::LSymbolLambda(), and RetrieveFunctionObject().

SReference* PTheLispSymbolQuote
 

Pointer to the QUOTE symbol.

Definition at line 113 of file lisp.cpp.

Referenced by LSymbolQuote::LSymbolQuote(), LReference::operator~(), and LReference::TextRepresentation().

SReference* PTheLispSymbolFunction
 

Pointer to the FUNCTION symbol.

Definition at line 114 of file lisp.cpp.

Referenced by LSymbolFunction::LSymbolFunction(), LFunctionConstructor::operator^(), and LReference::TextRepresentation().

SReference* PTheLispBooleanTrue
 

Pointer to a boolean true constant.

Definition at line 115 of file lisp.cpp.

Referenced by LSymbolT::LSymbolT().

SReference* PTheLispBooleanFalse
 

Pointer to the boolean false object.

Definition at line 116 of file lisp.cpp.

Referenced by LReference::IsTrue(), LispContinuation::LispContinuation(), and LSymbolNIL::LSymbolNIL().


Generated on Tue Dec 18 00:39:57 2007 for InteLib by  doxygen 1.4.1