eval.hpp File Reference

#include "cons.hpp"

Go to the source code of this file.

Functions

Cell * eval (Cell *const c)
 Evaluate the expression tree whose root is pointed to by c (error if c does not hold a well-formed expression).


Detailed Description

Encapsulates the interface for the expression evaluator function.

Function Documentation

Cell* eval Cell *const   c  ) 
 

Evaluate the expression tree whose root is pointed to by c (error if c does not hold a well-formed expression).

Returns:
The value resulting from evaluating the expression.


Generated on Wed May 10 01:21:22 2006 for a3 by  doxygen 1.4.6