REPL无法正确处理退格字符,甚至倒退过“user=>”提示,显然在评估过程中根本没有捕获。此外,在尝试评估“clojure-version”时,当我输入"clojure " <----空格,而不是"clojure-" <----连字符时,就会出现这种情况
$ mono Clojure.Main.exe
Clojure 1.5.0
user=> clojure CompilerException System.InvalidOperationException: 无法在此上下文中解析符号:clojure
at clojure.lang.Compiler ResolveIn (clojure.lang.Namespace n, clojure.lang.Symbol symbol, Boolean allowPrivate) (link: 0x00000) in :0
at clojure.lang.Compiler Resolve (clojure.lang.Symbol symbol) (link: 0x00000) in :0
at clojure.lang.Compiler AnalyzeSymbol (clojure.lang.Symbol symbol) (link: 0x00000) in :0
at clojure.lang.Compiler Analyze (clojure.lang.CljCompiler.Ast.ParserContext pcontext, System.Object form, System.String name) (link: 0x00000) in :0 , compiling: (NO_SOURCE_PATH:0:0)
...后续输入将被忽略,需要使用^C退出。