Tag: 读取评估打印循环

Clojure有没有彩色的REPL?

我想为clojure代码获取一个有色的REPL,类似于您可以使用IRB for Ruby所做的。 user.clj是否有提供REPL自动着色的库或设置? 示例IRB:

我不能在Coffeescript交互模式(REPL)中编写多行代码

当我在coffeescript交互模式下input多行时,发生错误。 对于exapmle,我想尝试下面的代码。 kids = brother: name: "Max" age: 11 sister: name: "Ida" age: 9 显示此错误。 coffee> kids = Error: In repl, Parse error on line 1: Unexpected 'TERMINATOR' at Object.parseError (/usr/lib/coffeescript/parser.js:463:11) at Object.parse (/usr/lib/coffeescript/parser.js:533:22) at /usr/lib/coffeescript/coffee-script.js:26:22 at Object.eval (/usr/lib/coffeescript/coffee-script.js:64:17) at Interface.<anonymous> (/usr/lib/coffeescript/repl.js:18:26) at Interface.emit (events:27:15) at Interface._ttyWrite (readline:309:12) at Interface.write (readline:147:30) at Stream.<anonymous> (/usr/lib/coffeescript/repl.js:35:17) at […]

我怎样才能启动一个Perl的交互式控制台?

如何启动Perl的交互式控制台,类似于Ruby的Python命令或python的Python?