Hi all,
earlier today a first working version of the NodeJS based Amber compiler has been merged into master and is ready for experimentation.
Currently it consists of two parts:
* bin/amberc.js: a NodeJS module containing the AmberC prototype function which can be used to create an instance of the compiler
* bin/amberc: a NodeJS script which creates an instance of AmberC and initializes it correctly
Further plans are to move command-line parameter handling from amberc.js to amberc to provide a cleaner interface to AmberC.
The previous amberc script is still available as bin/amberc.sh together with its companion script bin/nodecompile.js.
Depending on the new compiler I expanded the initial grunt.js [1] build script provided in a pull-request by JohnnyT [2].
This is now much easier, since the compiler can be loaded as a NodeJS module.
If anyone is interested in playing with it or sending patches/recommendations have a look at my grunt branch on GitHub [3].
Best,
Manfred