How we turned JSON into a full programming language
medium.com
medium.com
Why JSON? Mainly because it makes it natural to embed JSON objects into code that's otherwise purely functional. Also, as @detaro pointed out, it saved us the time to build our own parser.
Why not use an interpreter/compiler for an existing functional language? Building our own language allows us to control the reach of the code and prevent malicious stuff. Having our own compiler is also useful when threading and networking matters as much as it does to us, since there is simultaneous front end and back end processing.
The result is a very simple syntax for API aggregation where we take care of all the hard part in the background :)
We've been using this syntax for a while and it works well for us internally, but we're soon releasing more appealing tools. Read comments below for more details.
Fair enough; that wasn't clear to me from reading the article.
I still think this is a solution to a non-existent problem. Essentially interfaces solved this type of problem 30 years ago. Today you can implement a set of interfaces and, depending on your language of choice, hot swap / add/ delete them as needed and those can all do exactly what your fancy JSON does but without the proprietary, new syntax and language being introduced.
That said, an easy but powerful tool to digest and display APIs sounds very useful.
If you are releasing a JSON API, I'd be happy to try it out and make a card for it. Let me know if you have more questions!