EExpr
From Erights
Revision as of 14:40, 9 June 2010 by ThomasLeonard (Talk)
A parsed Kernel-E expression.
Protocol
compile/1
- Signature: compile(env :Scope) :CompiledE
Compile the expression to an internal form (e.g. currently Transformed-E, but could be Java bytecode). The result is a Thunk which can be invoked to evaluate the code in the given environment.
eval/1
- Signature: eval(env :Scope) :any
Convenience method to compile and evaluate the expression in one go.