org.fun4j.compiler
Class PreCompiler

java.lang.Object
  extended by org.fun4j.compiler.PreCompiler

public class PreCompiler
extends java.lang.Object

The fun4j LISP to lambda-AST pre-compiler. This class provides methods to precompile Parsed LISP terms into Expression objects. The AST Compiler Compiler can be used to compile those AST Expressions to Java Bytecode: Compiler.compile(Expression, String).

Author:
Thomas Mahler

Constructor Summary
PreCompiler()
           
 
Method Summary
 Expression precompile(java.lang.Object term)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreCompiler

public PreCompiler()
Method Detail

precompile

public Expression precompile(java.lang.Object term)
                      throws CompilationException
Throws:
CompilationException