1 import { readline
} from './node_readline'
4 const READ
= str
=> str
7 const EVAL
= (ast
, env
) => ast
10 const PRINT
= exp
=> exp
13 const REP
= str
=> PRINT(EVAL(READ(str
), {}))
16 let line
= readline('user> ')
17 if (line
== null) break
18 if (line
) { console
.log(REP(line
)) }