cwise-compiler
cwise's internal compiler
Last updated 11 years ago by mikolalysenko .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install cwise-compiler 
SYNC missed versions from official npm registry.

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.

build status

Install

Install using npm:

npm install cwise-compiler

API

require("cwise-compiler")(procedure)

Compiles a cwise procedure for the given procedure. The object procedure must have the following fields:

  • args An array of argument types (as in cwise)
  • pre A parsed pre function
  • body A parsed body function
  • post A parsed post function
  • funcName Name of the function
  • blockSize Block size to generate
  • debug Debug mode flag

License

(c) 2013 Mikola Lysenko. MIT License

Current Tags

  • 1.1.3                                ...           latest (8 years ago)

7 Versions

  • 1.1.3                                ...           8 years ago
  • 1.1.2                                ...           9 years ago
  • 1.1.1                                ...           9 years ago
  • 1.1.0                                ...           10 years ago
  • 1.0.0                                ...           11 years ago
  • 0.1.0                                ...           11 years ago
  • 0.0.0                                ...           11 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 4
Last Day 0
Last Week 4
Last Month 0
Dependencies (1)
Dev Dependencies (0)
None
Dependents (3)

Copyright 2013 - present © cnpmjs.org | Home |