Package Exports
- cwise-compiler
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (cwise-compiler) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
cwise-compiler
Just the compiler from cwise. You can call this directly if you know what you are doing and want to skip calling cwise-parser and including esprima. This is only recommended in extreme cases though. Otherwise you should stick to the default interface in cwise and not mess around with this craziness.
Install
npm install cwise-compilerrequire("cwise-compiler")(procedure)
Compiles a cwise procedure for the given procedure. The object procedure must have the following fields:
argsAn array of argument types (as in cwise)preA parsed pre functionbodyA parsed body functionpostA parsed post functionfuncNameblockSizedebug
Credits
(c) 2013 Mikola Lysenko. MIT License