This is still an experiment and isn't intended for real use yet. The biggest issue is that the generated code currently doesn't delete anything (garbage collection is planned but not yet implemented). Also the WebAssembly specification is still being developed and the current binary format will stop working when WebAssembly is officially released.
An interactive compiler demo is available online at http://evanw.github.io/thinscript/. Here's some example code to demonstrate the language (documentation will be written at some point):
node build.js to build the compiler using itself.
This generates updated versions of
If you have a C compiler installed, this also builds a native version of the compiler by compiling
lib/thinc.c together into the