idyll-compiler
v5.0.0-alpha.2
Published
Compiler for idyll
Readme
idyll-compiler
Lexer and parser for Idyll lang. If you want to embed Idyll on your webpage, use the idyll-document package.
Installation
$ npm install --save idyll-compilerUsage
import { compile } from 'idyll-compiler';
compile(inputString, options).then(ast => {
// Do something with the generated abstract syntax tree.
});Developing
- Clone this repo
- Bootstrap with lerna:
lerna bootstrap(run from the top level folder) - Make your changes
- Run the tests:
lerna run test
If you want to make a change, add a failing test, update the compiler so that the test passes, then submit a PR.
