Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Executable JSON

< >

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

#2733on PLDB 11Years Old
Homepage


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

- Build the next great programming language Add Issues About Search Keywords Livestreams Labs Resources Acknowledgements

Built with Scroll v154.3.0