This is a playground for the languages supported by the KLIPSE plugin.
All the code snippets of this page are live and interactive:
- Live: The code is executed in your browser
- 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
Markdown
# Hello KLIPSE
## Markdown is cool
`Markdown` and `KLIPSE` rock!
LambdaWay
LambdaWay
is a kind of a markup language. More about it here