Socket
Socket
Sign inDemoInstall

cwise-compiler

Package Overview
Dependencies
1
Maintainers
1
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
381K
decreased by-6.04%
Maintainers
1
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.

Install

npm install cwise-compiler

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
  • blockSize
  • debug

Credits

(c) 2013 Mikola Lysenko. MIT License

Keywords

FAQs

Last updated on 16 Jul 2013

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