Skip to content
Your own DSL, in javascript, in a nice reusable package!
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
bin
scripts
template
.gitignore
.npmignore
LICENSE
README.md
package-lock.json
package.json 0.1.4 Sep 22, 2017

README.md

appology / nearley-template Build Status

Your own DSL, in javascript, in a nice reusable package!

Crafted with ♡ by Appology

Made possible by the super awesome nearley parser toolkit.

Before you install...

Please keep in mind that this project is not yet battle tested.

Issues?

You can submit new issues using GitHub Issues

Install:

npm i -g nearley-template

Init:

mkdir my_project && cd my_project
nearleyt init

After a few short questions, you'll be ready to hack with:

Some helpful commands:

# compile the grammar and javascript files
# under /src into /lib
npm run build

# run all tests manually
npm test

# when using a test runner like Wallaby.js,
# recompiles /src/grammar.ne as you save
npm run watch nearley
You can’t perform that action at this time.