Find a file
2018-09-11 11:00:00 +01:00
.github Clarify templates 2018-02-03 16:46:16 +00:00
docs Move CBT logo 2018-09-06 12:42:42 +01:00
examples Merge pull request #490 from chearon/css-num-fix 2017-06-11 12:25:14 +01:00
packages/pegjs Move PEG.js to packages/pegjs 2018-09-08 02:39:12 +01:00
src Regenerate parser 2018-04-03 03:17:30 +01:00
test Update execution files 2018-09-11 10:32:23 +01:00
website Use cdn for jQuery 2018-09-11 11:00:00 +01:00
.babelrc.js browserify -> rollup 2018-09-10 04:57:12 +01:00
.eslintignore Move PEG.js to packages/pegjs 2018-09-08 02:39:12 +01:00
.eslintrc.js prefer rest and spread 2018-09-05 10:16:34 +01:00
.gitattributes Move PEG.js to packages/pegjs 2018-09-08 02:39:12 +01:00
.gitignore browserify -> rollup 2018-09-10 04:57:12 +01:00
.nycrc Istanbul: only check packages 2018-09-10 05:20:13 +01:00
.travis.yml Update supported platforms 2018-09-05 01:37:57 +01:00
CHANGELOG.md Move old changelogs to docs/changelogs [ci skip] 2018-09-05 23:03:47 +01:00
gulpfile.js browserify -> rollup 2018-09-10 04:57:12 +01:00
LICENSE Updated maintainer #503 2017-06-12 07:40:38 +01:00
now.json ensure zeit.now ignores devDependencies 2018-09-10 05:08:47 +01:00
package.json ensure zeit.now ignores devDependencies 2018-09-10 05:08:47 +01:00
README.md Move CBT logo 2018-09-06 12:42:42 +01:00
rollup.config.js browserify -> rollup 2018-09-10 04:57:12 +01:00
server.js browserify -> rollup 2018-09-10 04:57:12 +01:00
yarn.lock browserify -> rollup 2018-09-10 04:57:12 +01:00

ci coverage release dev bower license

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.

PEG.js is still very much work in progress. There are no compatibility guarantees until version 1.0

features

  • Simple and expressive grammar syntax
  • Integrates both lexical and syntactical analysis
  • Parsers have excellent error reporting out of the box
  • Based on parsing expression grammar formalism - more powerful than traditional LL(k) and LR(k) parsers
  • Usable from your browser, from the command line, or via JavaScript API

CrossBrowserTesting

documentation

license

Released under the MIT License.

Copyright (c) 2010-2016 David Majda
Copyright (c) 2017+ Futago-za Ryuu