2017-12-18 04:52:23 +01:00
[![ci ](https://img.shields.io/travis/pegjs/pegjs.svg )](https://travis-ci.org/pegjs/pegjs)
2017-12-17 10:13:07 +01:00
[![coverage ](https://img.shields.io/coveralls/github/pegjs/pegjs.svg )](https://coveralls.io/github/pegjs/pegjs)
2017-12-18 04:52:23 +01:00
[![release ](https://img.shields.io/npm/v/pegjs.svg )](https://www.npmjs.com/package/pegjs)
[![dev ](https://img.shields.io/npm/v/pegjs/dev.svg )](https://github.com/pegjs/pegjs)
[![bower ](https://img.shields.io/bower/v/pegjs.svg )](https://github.com/pegjs/bower)
[![license ](https://img.shields.io/badge/license-mit-blue.svg )](https://opensource.org/licenses/MIT)
2016-02-12 16:23:32 +01:00
2018-02-16 03:39:13 +01:00
PEG.js is a simple parser generator for JavaScript that produces fast parsers with excellent error reporting. You can use it to process complex data or computer languages and build transformers, interpreters, compilers and other tools easily.
2017-08-20 13:44:08 +02:00
> PEG.js is still very much work in progress. There are no compatibility guarantees until version 1.0
2018-02-16 03:39:13 +01:00
## features
2010-04-17 11:15:49 +02:00
2011-04-10 20:22:10 +02:00
* Simple and expressive grammar syntax
* Integrates both lexical and syntactical analysis
* Parsers have excellent error reporting out of the box
2018-02-16 03:39:13 +01:00
* Based on [parsing expression grammar ](http://en.wikipedia.org/wiki/Parsing_expression_grammar ) formalism - more powerful than traditional LL(*k*) and LR(*k*) parsers
* Usable [from your browser ](https://pegjs.org/online ), from the command line, or via JavaScript API
2017-06-12 08:40:38 +02:00
2018-02-16 03:39:13 +01:00
## documentation
2017-08-20 13:44:08 +02:00
2018-02-16 03:39:13 +01:00
- [Getting Started ](https://github.com/pegjs/pegjs/blob/master/docs/guides/getting-started.md )
- [Installation ](https://github.com/pegjs/pegjs/blob/master/docs/guides/installation.md )
- [Generating a Parser ](https://github.com/pegjs/pegjs/blob/master/docs/guides/generating-a-parser.md )
- [Using the Parser ](https://github.com/pegjs/pegjs/blob/master/docs/guides/using-the-parser.md )
- [Grammar Syntax and Semantics ](https://github.com/pegjs/pegjs/tree/master/docs/grammar )
- [JavaScript API ](https://github.com/pegjs/pegjs/blob/master/docs/guides/javascript-api.md )
- [Compatibility ](https://github.com/pegjs/pegjs/blob/master/docs/notes/compatibility.md )
- [Development ](https://github.com/pegjs/pegjs/blob/master/docs/notes/development.md )
- [Useful Links ](https://github.com/pegjs/pegjs/blob/master/docs/notes/useful-links.md )
2017-08-20 13:44:08 +02:00
2018-02-16 03:39:13 +01:00
## license
2014-12-12 14:06:40 +01:00
2018-02-16 03:39:13 +01:00
Released under the [MIT License ](https://opensource.org/licenses/MIT ).
2011-04-10 20:22:10 +02:00
2018-02-16 03:39:13 +01:00
Copyright (c) 2010-2016 [David Majda ](https://majda.cz/ )< br >
Copyright (c) 2017+ [Futago-za Ryuu ](https://github.com/futagoza )