A Surfeit of Sandboxes
April 13, 2016 11:10 AM   Subscribe

You may be familiar with JSFiddle and CodePen, but there are similar tools for a variety of languages, some more practical than others.

Need more flexibility than a single-language environment can handle? FiddleSalad lets you combine different markup, style, and programming languages.

Special mention: Compiler Explorer is an interactive tool showing how C/C++ programs are compiled to assembly code.

If you just want to get straight to a console, repl.it (previously) has you covered.
posted by jedicus (22 comments total) 60 users marked this as a favorite
 
ShaderToy!!!
posted by miyabo at 11:11 AM on April 13, 2016 [6 favorites]


This doesn't seem to include PHP Tester.
posted by kevinbelt at 11:43 AM on April 13, 2016 [1 favorite]


...or CFLive, for Cold Fusion and Lucee (a fork of Railo). Nevertheless, a neat collection!
posted by foonly at 12:03 PM on April 13, 2016 [1 favorite]


Also for PHP - PHP Sandbox.
posted by sysinfo at 12:05 PM on April 13, 2016 [1 favorite]


I see a lot of Angular developers using Plunker.

Will definitely keep the RegEx ones in mind, because I do not want to have two problems!
posted by fifteen schnitzengruben is my limit at 12:42 PM on April 13, 2016 [1 favorite]


There's also Rubular, which lets you play with regular expressions as they are implemented in Ruby.
posted by firechicago at 12:48 PM on April 13, 2016 [1 favorite]


It's kind of weird that they don't include JS Bin or CodePen on their list.
posted by The Lamplighter at 12:54 PM on April 13, 2016


The site does say "Did I miss a fiddle? Let me know via email or Twitter: juhap@iki.fi | @jpalomaki"
posted by jedicus at 12:59 PM on April 13, 2016


A few more: posted by acb at 1:10 PM on April 13, 2016 [1 favorite]


If you want to dive into the languages used for chip design (at least Verilog/SystemVerilog etc.), you can use:

http://www.edaplayground.com/

posted by marmIrite? at 1:19 PM on April 13, 2016


In the "other" Hello World demo I removed a single + and got the answer: H[bbe WehbZ!

Illuminating. NOT

If I understand best development practices in bf are essentially throw random bit in a bucket and keep stirring.
posted by sammyo at 1:44 PM on April 13, 2016


I'm sortof torn by the profusion of repl demos on the web, certainly fun to see how a one liner works in a new language, and I certainly use them during development for getting a bit of syntax straight but writing a small file and running it for any but trivial things make more sense. I guess writing in one window and pasting into the repl browser too may make sense. Hmm. Is there an online emacs?-)
posted by sammyo at 1:50 PM on April 13, 2016


If I understand best development practices in bf are essentially throw random bit in a bucket and keep stirring.

That is pretty much the case for Malbolge, as demonstrated by MeFi's own andrew cooke.
posted by jedicus at 1:55 PM on April 13, 2016


Sammyo, I found this: Ymacs.

But it doesn't seem to have a place to put your emacs.d, so my Spacemacs config remains on my netbook.
posted by mccarty.tim at 2:31 PM on April 13, 2016


IBM Swift Sandbox

The future is a strange place.
posted by ChurchHatesTucker at 4:17 PM on April 13, 2016 [2 favorites]


Ember-Twiddle provides a sandbox for the Ember javascript framework .
posted by southof40 at 5:51 PM on April 13, 2016


There are a couple of TypeScript playgrounds if you don't get enough abuse from compilers at work.
posted by RobotVoodooPower at 6:09 PM on April 13, 2016 [1 favorite]


Jupyter Notebook.
The Jupyter Notebook is a web application that allows you to create and share documents that contain live code, equations, visualizations and explanatory text. Uses include: data cleaning and transformation, numerical simulation, statistical modeling, machine learning and much more.
posted by ob1quixote at 6:14 PM on April 13, 2016


PostScript sandbox.

I really want F77, Forth and Perl, though.
posted by scruss at 6:44 PM on April 13, 2016


The nice thing about Codepen and the like is that you can prototype a thing quickly as a proof-of-concept. It's also great for learning in classes, as you can code along silently as the instructor codes aloud, then share your Codepen ID with the class. (Worked like a charm in a CSS animation class I took a couple of summers ago.)

OK, here are two more that must be added:
Apple ][ BASIC in JavaScript
LOGO in JavaScript

10 PRINT "AWESOME"
20 GOTO 10

] RUN
posted by fifteen schnitzengruben is my limit at 7:22 PM on April 13, 2016 [1 favorite]


Skulpt is pretty cool, mostly because of the turtle graphics.

Or you could go real old-school and fire up Turbo C (but where's my Pascal and Prolog??)
posted by RobotVoodooPower at 7:40 PM on April 13, 2016


Plans this weekend? Where we're going, we don't need plans this weekend.
posted by man down under at 1:37 AM on April 15, 2016


« Older a moment-by-moment decision not to escalate   |   Dedicated to the appreciation of the mundane in... Newer »


This thread has been archived and is closed to new comments