cwise-compiler

WebJar for cwise-compiler

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

cwise-compiler
Last Version

Last Version

1.1.3
Release Date

Release Date

Type

Type

jar
Description

Description

cwise-compiler
WebJar for cwise-compiler
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/scijs/cwise-compiler

Download cwise-compiler

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/cwise-compiler/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>cwise-compiler</artifactId>
    <version>1.1.3</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/cwise-compiler/
implementation 'org.webjars.npm:cwise-compiler:1.1.3'
// https://jarcasting.com/artifacts/org.webjars.npm/cwise-compiler/
implementation ("org.webjars.npm:cwise-compiler:1.1.3")
'org.webjars.npm:cwise-compiler:jar:1.1.3'
<dependency org="org.webjars.npm" name="cwise-compiler" rev="1.1.3">
  <artifact name="cwise-compiler" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='cwise-compiler', version='1.1.3')
)
libraryDependencies += "org.webjars.npm" % "cwise-compiler" % "1.1.3"
[org.webjars.npm/cwise-compiler "1.1.3"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : uniq jar [1.0.0,2)

Project Modules

There are no modules declared in this project.

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

org.webjars.npm

Versions

Version
1.1.3