Ejemplo n.º 1
0
 public void ProgN(LispHost host, LispExecutionState executionState, LispObject[] args)
 {
     for (int i = args.Length - 1; i >= 0; i--)
     {
         executionState.InsertOperation(new LispEvaluatorObjectExpression(args[i]));
         if (i != 0)
         {
             executionState.InsertOperation(new LispEvaluatorPopArgument());
         }
     }
 }
Ejemplo n.º 2
0
 public LispReplResult(LispExecutionState executionState, int expressionDepth)
 {
     ExecutionState  = executionState;
     ExpressionDepth = expressionDepth;
 }
Ejemplo n.º 3
0
 public void Quote(LispHost host, LispExecutionState executionState, LispObject[] args)
 {
     // TODO: validate argument count
     executionState.PushArgument(args[0]);
 }
Ejemplo n.º 4
0
 internal LispEvalResult(LispExecutionState executionState)
 {
     ExecutionState = executionState;
 }