예제 #1
0
파일: Eval.cs 프로젝트: marcinnajder/misc
 public static MalType Eval(MalType mal, Env env)
 => MacroExpand(mal, env).Pipe(expandMal => expandMal switch
예제 #2
0
파일: Printer.cs 프로젝트: bvnierop/mal
 public static string PrStr(MalType malType, bool printReadably)
 {
     return(malType.AsString(printReadably));
 }
예제 #3
0
 static MalType EVAL(MalType expression)
 {
     return(expression);
 }
예제 #4
0
 static string PRINT(MalType expression)
 {
     return(Printer.PrStr(expression, true));
 }
예제 #5
0
 public static string PrStr(MalType malType)
 {
     return(malType.ToString());
 }