8 static string READ(string str
) {
13 static string EVAL(string ast
, string env
) {
18 static string PRINT(string exp
) {
23 static string RE(string env
, string str
) {
24 return EVAL(READ(str
), env
);
27 static void Main(string[] args
) {
28 string prompt
= "user> ";
33 line
= Mal
.readline
.Readline(prompt
);
34 if (line
== null) { break; }
35 } catch (IOException e
) {
36 Console
.WriteLine("IOException: " + e
.Message
);
39 Console
.WriteLine(PRINT(RE(null, line
)));