We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(6)
我最近启动了一个项目,为 Node 上运行的多种语言提供增强的、可扩展的、可嵌入的交互式解释器(包括对 CoffeeScript 的内置支持):
http://danielgtaylor.github.com/nesh/
目前它还很基础,但它已经提供了一个很好的基础,具有多语言支持和异步插件架构,一小组内置的实用功能等。如果您正在寻找任何特定功能,请告诉我:-)
I've recently started a project to provide an enhanced, extensible, embeddable interactive interpreter for multiple languages running on Node (including built-in support for CoffeeScript) here:
http://danielgtaylor.github.com/nesh/
It's pretty basic at the moment but it already provides a nice base with multi-language support and an asynchronous plugin architecture, a small set of built-in utility functions, etc. Let me know if there are any specific features you are looking for :-)
据我所知,
node
和coffee
是目前 Node.js 和 CoffeeScript(分别)唯一的全功能命令行 REPL。在最新的版本中,两者都提供了某种程度的彩色输出、漂亮的打印和完成度。To my knowledge,
node
andcoffee
are the only full-featured command-line REPLs for Node.js and CoffeeScript (respectively) right now. In their latest iterations, both offer some degree of colorful output, pretty printing, and completion.这是最好的 REPL - https://github.com/princejwesley/Mancy
This is the best REPL available - https://github.com/princejwesley/Mancy
Ankit,我一直在寻找完全相同的答案并最终实现了它,也许它对您也有帮助: https://github.com/mksenzov/i.js
Ankit, I was looking for exactly the same answer and ended up implementing it, perhaps it could be helpful for you as well: https://github.com/mksenzov/i.js
您尝试过 Chrome 开发工具中的控制台吗?
或这个: http://jsconsole.com/
Have you tried the console in Chrome Dev Tools?
or this one: http://jsconsole.com/
好的,对于输入命令历史记录,您可以使用以下命令:
http:// /blog.doteight.com/blog/2011/01/16/rlwrap-and-node/
但这样制表符补全不起作用...
任何人都知道如何调用节点解释器
选项卡自动补全功能已打开?
Ok so for input commands history you can use this:
http://blog.doteight.com/blog/2011/01/16/rlwrap-and-node/
but this way the tab completion doesn't work...
anyone know how to call node interpreter with
tab autocomletion turned on?