@log4b0at/pegjs
TypeScript icon, indicating that this package has built-in type declarations

0.11.0 • Public • Published

GitHub Actions Codecov CodeFactor 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

documentation

license

Released under the MIT License.

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

Package Sidebar

Install

npm i @log4b0at/pegjs

Homepage

pegjs.org/

Weekly Downloads

1

Version

0.11.0

License

MIT

Unpacked Size

257 kB

Total Files

37

Last publish

Collaborators

  • log4b0at