org.hccp.lisp
Class TestInterpreter

java.lang.Object
  |
  +--org.hccp.lisp.Interpreter
        |
        +--org.hccp.lisp.TestInterpreter

public class TestInterpreter
extends Interpreter

This class has been deprecated. Please use Interpreter instead.


Constructor Summary
TestInterpreter()
          Deprecated.  
 
Method Summary
 org.hccp.lisp.Sexp compile(java.util.List l, java.util.Iterator itr)
          Deprecated.  
 org.hccp.lisp.Sexp compile(java.lang.Object o, java.util.Iterator itr)
          Deprecated. the "compile" methods convert Strings, Doubles, and Lists to their Sexp equivalents.
static void display(java.util.List l)
          Deprecated. Prints out a list of lists.
 java.util.List interpret(java.util.List l)
          Deprecated.  
 boolean isFunction(java.util.List list)
          Deprecated. Determines if List is a function.
 
Methods inherited from class org.hccp.lisp.Interpreter
createLiteral, isDefun, main
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestInterpreter

public TestInterpreter()
Deprecated. 
Method Detail

compile

public org.hccp.lisp.Sexp compile(java.lang.Object o,
                                  java.util.Iterator itr)
Deprecated. 
Description copied from class: Interpreter
the "compile" methods convert Strings, Doubles, and Lists to their Sexp equivalents.

Overrides:
compile in class Interpreter
Parameters:
o - object to convert to Sexp
Returns:

compile

public org.hccp.lisp.Sexp compile(java.util.List l,
                                  java.util.Iterator itr)
Deprecated. 
Overrides:
compile in class Interpreter
Parameters:
l - list to convert to Sexp
Returns:

isFunction

public boolean isFunction(java.util.List list)
Deprecated. 
Description copied from class: Interpreter
Determines if List is a function.

Overrides:
isFunction in class Interpreter
Parameters:
list -
Returns:

interpret

public java.util.List interpret(java.util.List l)
Deprecated. 
Overrides:
interpret in class Interpreter
Parameters:
l - a collection of objects that are reducible to some implementation of Sexp.
Returns:
an ordered list of the values resulting from the evaluation of the "compiled" Sexp objects.

display

public static void display(java.util.List l)
Deprecated. 
Description copied from class: Interpreter
Prints out a list of lists.

Parameters:
l -