cwise-compiler
    DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/cwise-compiler package

    1.1.3 • Public • Published

    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

    Install

    npm i cwise-compiler

    DownloadsWeekly Downloads

    352,770

    Version

    1.1.3

    License

    MIT

    Last publish

    Collaborators

    • mikolalysenko
    • jaspervdg
    • rreusser
    • planeshifter
    • hughsk
    • substack