1
1
mirror of https://github.com/kanaka/mal.git synced 2024-11-10 12:47:45 +03:00
mal/process/step0_repl.txt
2015-01-29 23:40:10 -06:00

12 lines
213 B
Plaintext

--- step0_repl ----------------------------------
READ(str): return str
EVAL(ast,env): return ast
PRINT(exp): return exp
rep(str): return PRINT(EVAL(READ(str),""))
main loop: println(rep(readline("user> ")))