nings-archive / slang

An open-source interpreter for The Source
0 stars 0 forks source link

Cannot write multi-line statements in REPL #7

Open ning-y opened 6 years ago

ning-y commented 6 years ago
>>> function pair(x, y) {
Thrown: SyntaxError at 2:0

(with 0a7b4a8)

remo5000 commented 6 years ago

Instances of repl.REPLServer support automatic completion of inputs, simplistic Emacs-style line editing, multi-line inputs, ANSI-styled output, saving and restoring current REPL session state, error recovery, and customizable evaluation functions.

Worth taking note