JayScript
Install
npm install jayscript -g
Usage
Currently JayScript only supports function declarations that take no arguments and can only have return statements. The return statement must return either an integer, or a binary expression of addition.
example.js
{ return 1 + 2;}
jayscript example.js
Options
If you want to optimize the Wasm output, you can pass the -Oz
flag:
jayscript example.js -Oz
Notes
This is just a joke. :shipit: