# cwise-compiler

> cwise's internal compiler

Latest version **1.1.3** (published 2017-05-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install cwise-compiler
pnpm add cwise-compiler
yarn add cwise-compiler
bun add cwise-compiler
```

## Health

**Score 23/100 (F)** — status: abandoned.

Positive: has types package; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.3 |
| Published | 2017-05-17 |
| First published | 2013-07-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/cwise-compiler) |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 8 |
| Author | Mikola Lysenko |
| Maintainers | mikolalysenko, jaspervdg, rreusser, planeshifter, hughsk, substack |
| Keywords | cwise, ndarray, compiler |

## Links

- npm: https://www.npmjs.com/package/cwise-compiler
- Repository: https://github.com/scijs/cwise-compiler
- Homepage: https://github.com/scijs/cwise-compiler#readme
- Issues: https://github.com/scijs/cwise-compiler/issues
- npm.io page: https://npm.io/package/cwise-compiler

## Dependencies (1)

- [uniq](https://npm.io/package/uniq.md) ^1.0.0

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.1.3 (latest) — 2017-05-17
- 1.1.2 — 2015-07-08
- 1.1.1 — 2015-07-08
- 1.1.0 — 2015-04-10
- 1.0.0 — 2014-04-29
- 0.1.0 — 2013-07-18
- 0.0.0 — 2013-07-16

## README

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](https://secure.travis-ci.org/scijs/cwise-compiler.png)](http://travis-ci.org/scijs/cwise-compiler)

# Install
Install using [npm](https://www.npmjs.com/):

    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

---
_Source: https://npm.io/package/cwise-compiler · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
