Very basic, runnable example of Elliptical usage (from the README)
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
.npmignore
LICENSE
README.md
package.json

README.md

elliptical-example

Very basic, runnable example of Elliptical usage (from the README)

Installation

git clone https://github.com/laconalabs/elliptical-example.git  # clone repo
cd elliptical-example  # go to the new directory
npm install  # install dependencies

Usage

Elliptical grammars can be specified using Babel. Because of this, running the example requires babel-node or a build step with babel. This is provided using npm scripts. Run either

npm run example

or

npm run build
node .