metaret
v0.0.3
Published
Meta composition and inlining transforms for Javascript to allow fast, efficient tail recursion without trampolines
Downloads
10
Maintainers
Readme
metaret-npm
A node-ready version of https://github.com/glathoud/js.metaret packaged for NPM
Exposes 2 functions which transform Javascript source code:
metafun recursive composition:
var metaret = require('metaret');
var output_source = metaret.jsm2js(input_source);
inlining function calls:
var metaret = require('metaret');
var output_source = metaret.inline(input_source);