REPL Environment for the Web [closed]

冷暖自知 提交于 2019-11-28 16:30:48

问题


I'm looking to find a REPL system that can be executed on a web page and that the server can react to. Is there anything out there (I'd assume it would have to be using Javascript/AJAX)? If there's a PHP implementation, it would be even more awesome, but for now I'm just looking for some kind of an implementation.


回答1:


A JavaScript REPL: http://tech.einaregilsson.com/repl.html

A PHP REPL developed at Facebook: http://www.phpsh.org/

A Python REPL: http://www.trypython.org/

A Ruby REPL: http://tryruby.org/

A Haskell REPL: http://tryhaskell.org/

An R REPL: http://rstudio.org/




回答2:


repl.it

Have you tried http://repl.it? It supports Ruby, Python, Lua, Scheme, JavaScript, Javascript.next, CoffeeScript, QBasic, Forth, Move and Kaffeine.

It also supports these esoteric languages: Emoticon, Brainfuck, LOLCODE, Unlambda and Bloop

From their FAQ:

What is repl.it?

It is an online environment for interactively exploring programming languages. The name comes from the read-eval-print loop, the interactive toplevel used by languages like Lisp and Python.

Is repl.it open source?

Yes! You can explore the code and contribute to various parts of repl.it through our GitHub repositories.




回答3:


also check out:

  • Ideone for languages which need to be compiled like C++/Java
  • and a neat all-in-one web development editor JSFiddle
  • and also Codepad

not to mention pastebin-like places:

  • Pastebin
  • Gist@GitHub
  • Hastebin
  • Codr.cc - Code live!



回答4:


Yet another REPL for PHP - Boris (https://github.com/d11wtq/boris)




回答5:


A real good initiative that deserves acclaim..(for PHP only).

http://codepad.viper-7.com/




回答6:


A simple, online repl for PHP: http://phpepl.herokuapp.com/




回答7:


I've developed a C# REPL (open Source) which at the moment is an desktop app but not that hard to convert into a Web version: http://diniscruz.blogspot.co.uk/p/c-repl-script-environment.html



来源:https://stackoverflow.com/questions/5918670/repl-environment-for-the-web

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!