示例#1
0
        public Value Visit(Expr.Sequence seq)
        {
            Value evaled = new Value.VUnit(seq.Span);

            foreach (Expr e in seq.Exprs)
            {
                evaled = InterpreterVisitor.Interpret(_env, e);
            }

            return(evaled);
        }
示例#2
0
 public string visit(Value.VUnit _)
 {
     return("unit");
 }