Teacup
This is the companion repository to this article.
The same code is used in this JSFiddle.
core.js
contains the core functionality to define a language.teacup.js
contains the definition of the Teacup language.demo.js
andindex.html
define what's needed for the demo.
Usage
Just open index.html
in Chrome or Firefox.