This is a playground for the languages supported by the KLIPSE plugin.

All the code snippets of this page are live and interactive:

  1. Live: The code is executed in your browser
  2. Interactive: You can modify the code and it is evaluated as you type

Clojure

Evaluation

(map inc [1 2 3])

Transpilation into javascript

(defn foo [[x y]]
  (+ x y))

(foo [1 2])

Javacript

Regular Javascript

var res = 0;
for (x = 0; x < 10; x++)
      res += 10*x;
res

ECMAScript 6

It will work only if your browser supports EcmaScript6 arrow functions.

[1,2,3].map (x => x + 1)

Ruby

[1,2]*10

Python

print([x + 1 for x in range(10)])

PHP

print "Hello". " World!";

HTML

<img id="amelie" src="http://epsilonwiki.free.fr/lambdaway/data/amelie_poulain.jpg" height="150" title="Amélie Poulain" style="box-shadow:0 0 8px black; border:1px solid white; -webkit-transform:rotate(-5deg); -moz-transform:rotate(-5deg); transform:rotate(-5deg);"></img>

Markdown

# Hello KLIPSE
## Markdown is cool
`Markdown` and `KLIPSE` rock!

LambdaWay

LambdaWay is a kind of a markup language. More about it here

{div {@ style="text-align:center;font:bold 2em georgia;color:red;"} √(3{sup 2}+4{sup 2}) = {sqrt {+ {* 3 3} {* 4 4}}}}