Skip to content

A babel plugin to rewrite statements labelled with always to linear constraints

Notifications You must be signed in to change notification settings

active-expressions/babel-plugin-always-constraint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

babel-plugin-always-constraint Build Status

A babel plugin to rewrite statements labelled with always to linear constraints

Live editable at http://astexplorer.net/#/JrmlrJciNw/7

Example

Transforms

something

to

something else

Installation

$ npm install babel-plugin-always-constraint

Usage

Via .babelrc (Recommended)

.babelrc

{
  "plugins": ["always-constraint"]
}

Via CLI

$ babel --plugins always-constraint script.js

Via Node API

require("babel-core").transform("code", {
  plugins: ["always-constraint"]
});

About

A babel plugin to rewrite statements labelled with always to linear constraints

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors