-
Notifications
You must be signed in to change notification settings - Fork 66
Tools
nn edited this page May 30, 2024
·
15 revisions
This is a list of tools that make work with PEG.js easier. Feel free to extend it if you know about more (just keep the list sorted alphabetically).
- GrammKit — tool for generating syntax diagrams (also known as railroad diagrams) for parser grammars
- js2peg — create PEG.js grammars in a custom JavaScript format
-
PEG.js Require Extension — extension that enables PEG.js grammars to be loaded via
require
- pegjs-backtrace — tracer module for PEG.js which generates a visual backtrace tree when the parser fails
- pegjs-strip — utility for removing Javascript code fragments from the specified PEG.js grammar file
- rollup-plugin-pegjs — Rollup plugin to import a grammar as a parser directly in the code
- ghast.js - An abstract syntax tree for Peggy. Makes it easy to classify and structure tokens, and to query and transform the resulting tree.