Example #1
0
 public static MalType Eval(MalType mal, Env env)
 => MacroExpand(mal, env).Pipe(expandMal => expandMal switch
Example #2
0
 public static string PrStr(MalType malType, bool printReadably)
 {
     return(malType.AsString(printReadably));
 }
Example #3
0
 static MalType EVAL(MalType expression)
 {
     return(expression);
 }
Example #4
0
 static string PRINT(MalType expression)
 {
     return(Printer.PrStr(expression, true));
 }
Example #5
0
 public static string PrStr(MalType malType)
 {
     return(malType.ToString());
 }