A… transpiler… you?
Although PogoScript already has a CLI
pogo -c file.pogo, there wasn’t a Grunt plugin. Knowing how easy Grunt plugins are to write, I wrote one for fun.
The grunt-pogo plugin requires Grunt
Install as a dev dependency
Load “grunt-pogo” in your Gruntfile.js
The pogo task
You can run the pogo task with the
grunt pogo command, or combine it with other tasks in the usual way. See configuring tasks for more info.
Oh yes, the plugin harnesses the power of currying and point free programming via the awesome functional.js library. λ.each, λ.select, λ.map all with a lovely dollop of curry, spice and all things nice.
It’s tested and hooked into Travis CI.
The full source code is available on github. You can log issues and pull request there too.
I’d like to expose more options for compilation via the Gruntfile.js, however uglification etc could always be performed as a separate Grunt task. Let me know what you think.
Compilation automation for the nation