mirror of
https://github.com/kanaka/mal.git
synced 2024-09-21 10:37:58 +03:00
b32495e94b
Also update miniMAL Dockerfile to xenial.
23 lines
319 B
JSON
23 lines
319 B
JSON
["do",
|
|
|
|
|
|
["load", ["`", "miniMAL-core.json"]],
|
|
|
|
["def", "READ", ["fn", ["strng"],
|
|
"strng"]],
|
|
|
|
["def", "EVAL", ["fn", ["ast", "env"],
|
|
"ast"]],
|
|
|
|
["def", "PRINT", ["fn", ["exp"],
|
|
"exp"]],
|
|
|
|
["def", "rep", ["fn", ["strng"],
|
|
["PRINT", ["EVAL", ["READ", "strng"], null]]]],
|
|
|
|
["repl", ["`", "user> "], "rep"],
|
|
|
|
null
|
|
|
|
]
|