有没有一个好的基于浏览器的沙箱来练习TCL?

发布于 2024-10-19 10:35:50 字数 1539 浏览 2 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

指尖微凉心微凉 2024-10-26 10:35:50

如果您对使用 8.4.16(现在有点旧)感到满意,那么您可以使用 Codepad 因为这包括对多种语言的 Tcl 支持。

If you're happy with being stuck with using 8.4.16 (which is a bit old now) then you can use Codepad as that includes Tcl support among its many languages.

菊凝晚露 2024-10-26 10:35:50

不知道为什么你想要任何基于浏览器的沙箱而不是仅仅获得 tclkit (单个文件,无需安装,请参阅 http: //www.patthoyts.tk/tclkit/)并启动其控制台/repl循环并开始尝试?

如果有人真的需要一个基于网络的沙箱,那么这将是微不足道的,特别是因为该语言已经有一个内置的 SafeBase 沙箱,所以添加一些简单的前端就足够了。

Not sure why you want any browser based sandbox instead of just getting a tclkit (single file, no install needed, see http://www.patthoyts.tk/tclkit/) and fire up its console/repl loop and start trying?

In case anyone really needed a web based sandbox, it would be trivial to do, especially as there already is a built in SafeBase sandbox in the language so adding some simple frontend is all you need.

三生池水覆流年 2024-10-26 10:35:50

我通常使用 tclsh 来尝试一些小代码片段。您可以从 Activestate 人员那里下载它。据我所知,唯一基于 Web 的 shell 是每个 OpenACS 安装附带的 shell,但是由于向公众开放这样的 shell 存在一定的安全风险,因此您可能很难获得它。 :-)

有一个网站,您可以在 http://www.oacsrocks.org/ - 您只需注册,他们就会在其服务器上进行安装,并授予您管理员权限。一旦启动并运行,您只需浏览到 /ds/shell.tcl 即可尝试您喜欢的任何 TCL 命令。

I use tclsh normally to try out little code snippets. You can download it from the Activestate guys. The only web-based shell that I know of is the one that comes with each OpenACS installation, however as it's a bit of a security risk making such a shell open to the public, you might have trouble getting your hands on one. :-)

There is a site where you could quickly try out OpenACS at http://www.oacsrocks.org/ - you just have to register and they will setup an installation on their servers, and give you admin privileges on it. Once that is up and running you just need to surf to /ds/shell.tcl and you can try out any TCL commands you like.

失去的东西太少 2024-10-26 10:35:50

你可以尝试 Cloud9 我之前在那里制作过 tcl 代码。

You could try Cloud9 I've made tcl code in there before.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文