Lisp.LispFunc
Common base class of Lisp functions
Assembly: ServiceStack.Common.dll
View Source
Declaration
public abstract class LispFunc
Properties
Carity
Number of arguments, made negative if the function has &rest
View Source
Declaration
public int Carity { get; }
Methods
MakeFrame(Lisp.Cell)
Make a frame for local variables from a list of actual arguments.
View Source
Declaration
public object[] MakeFrame(Lisp.Cell arg)
Returns
System.Object[]
Parameters
Type | Name |
---|---|
ServiceStack.Script.Lisp.Cell | arg |
EvalFrame(Object[], Lisp.Interpreter, Lisp.Cell)
Evaluate each expression in a frame.
View Source
Declaration
public void EvalFrame(object[] frame, Lisp.Interpreter interp, Lisp.Cell env)
Parameters
Type | Name |
---|---|
System.Object[] | frame |
ServiceStack.Script.Lisp.Interpreter | interp |
ServiceStack.Script.Lisp.Cell | env |