Skip to main content

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
TypeName
ServiceStack.Script.Lisp.Cellarg

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
TypeName
System.Object[]frame
ServiceStack.Script.Lisp.Interpreterinterp
ServiceStack.Script.Lisp.Cellenv