eval.cpp File Reference

#include "eval.hpp"

Functions

Celleval (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

A dummy implementation for example purposes. Just barely enough is implemented to allow the parser to run. Merely returns the input expression without evaluating it.

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 Fri Apr 21 18:12:52 2006 for a1 by  doxygen 1.4.6