2009-11-19 09:56:52 -06:00
|
|
|
package edu.utexas.cs345.jdblisp;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* SExp
|
|
|
|
* @author Jonathan Bernard (jdbernard@gmail.com)
|
|
|
|
*/
|
|
|
|
public interface SExp {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Evaluate this SExp within the context of the given SymbolTable.
|
|
|
|
* @param table The SymbolTable context for this scope.
|
|
|
|
* @return A SymbolTable containing the reutrn value.
|
|
|
|
*/
|
2009-11-20 10:26:21 -06:00
|
|
|
SExp eval(SymbolTable table) throws LispException;
|
2009-11-19 09:56:52 -06:00
|
|
|
|
|
|
|
String display(String offset);
|
|
|
|
|
|
|
|
}
|