gulp-mixotroph
bog-simple language-agnostic preprocessing.
usage:
example srcfile
{ //=T= console.log("in is " + in.toString(); return in+5; } { "use asm" %MATH_MIXIN%
tooling/snippets/MATH_MIXIN.js
var imul = stdlibMathimul; var sqrt = stdlibMathsqrt;
gulpfile.js
var mixotroph = ; ...
output
{ console