Languages Features Creators CSV Resources Challenges Add Language
GitHub icon

Executable JSON

Executable JSON - Programming language

< >

Executable JSON is a programming language created in 2013 by Todd Davies.

#1111on PLDB 10Years Old 0Books

Example from the web:
[ {"x":9}, {"y":3}, ["print The value of x is: $x"], ["print The value of x is: $y"], ["print Now lets add x and y"], ["add $z $x $y"], ["print The answer is: $z"], ["print Now lets subtract y from x"], ["sub $z $x $y"], ["print The answer is: $z"], ["print Now lets divide x by y"], ["div $z $x $y"], ["print The answer is: $z"], ["print Now lets multiply x by y"], ["mul $z $x $y"], ["print The answer is: $z"], {"myMethod": { "params": [ "p1", "p2" ], "body": [ {"nestedMethod": { "params": [ "p1" ], "body": [ ["print Methods can be nested, and arguments can be trickled down."], ["print The result was: $p1"] ] } }, ["print You passed me: $p1 and $p2"], ["print Lets add them and pass the result into another method!"], ["add $p2 $p1 $p2"], ["!nestedMethod $p2"] ] } }, ["!myMethod $x $y"] ]

HackerNews discussions of Executable JSON

title date score comments
Show HN: A programming language with a JSON parsable syntax 11/26/2013 3 0
promal.html 路 executable-json.html 路 relax.html

View source

- Build the next great programming language Search Day 214 About Blog Acknowledgements Traffic Traffic Today GitHub