Socket
Socket
Sign inDemoInstall

cwise-compiler

Package Overview
Dependencies
1
Maintainers
6
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    cwise-compiler

cwise's internal compiler


Version published
Weekly downloads
435K
decreased by-8.25%
Maintainers
6
Install size
31.0 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 17 May 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc