1 def READ(str string) MalVal {
5 def EVAL(ast MalVal, env StringMap<string>) MalVal {
9 def PRINT(exp MalVal) string {
10 return exp?.print(true)
13 def REP(str string) string {
14 return PRINT(EVAL(READ(str), {}))
20 while (line = readLine("user> ")) != null {
21 if line == "" { continue }
26 printLn("Error: \(e.message)")