2 个仓库
Tools for tracing and visualizing the internal state transitions of parsing engines to debug grammar definitions.
Distinct from Visualization Parsers: Candidates are either for robotic software tracing [f0_mt1], GPU kernels [f0_mt2], or binary debug symbols [f0_mt3]; none cover formal grammar parser state visualization.
Explore 2 awesome GitHub repositories matching development tools & productivity · Parser Debugging Tools. Refine with filters or upvote what's useful.
Ohm is a formal grammar parser generator and domain-specific language framework. It provides a system for defining custom languages to parse, validate, and extract data from input text, transforming raw strings into hierarchical abstract syntax trees based on specified formal rules. The project utilizes an Earley parsing algorithm, which allows it to support all context-free grammars, including those with left recursion and ambiguity, without requiring predefined operator precedence. It also includes a dedicated debugging toolkit for tracing and visualizing the step-by-step state transitions
Provides a dedicated toolkit for tracing and visualizing the step-by-step decisions the parser makes when processing input.
Nearley is a JavaScript parser toolkit used to define context-free grammars and generate corresponding parsers. It features an EBNF grammar compiler that transforms language definitions written in extended Backus-Naur Form into executable JavaScript code, utilizing an Earley parser implementation to process any context-free grammar. The toolkit distinguishes itself by its ability to handle left-recursion and ambiguity without failing, allowing it to identify and return multiple valid derivations for a single input string. It also includes a grammar fuzzing generator to produce random strings
Allows developers to inspect internal parse tables and test input strings to debug grammar rules.