HCoop
/
jackhill
/
mal.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
DISABLE FDs (REMOVE ME).
[jackhill/mal.git]
/
nim
/
step0_repl.nim
1
import rdstdin
2
3
proc read(str: string): string = str
4
5
proc eval(ast: string): string = ast
6
7
proc print(exp: string): string = exp
8
9
while true:
10
let line = readLineFromStdin("user> ")
11
echo line.read.eval.print