ebnf-parser is a lightweight JavaScript library that parses Extended Backus-Naur Form (EBNF) grammars. It transforms EBNF syntax descriptions into an abstract syntax tree (AST), enabling developers to programmatically analyze and utilize grammar definitions. Well-suited for building parsers, DSLs, or automating grammar-related tasks, ebnf-parser provides a simple and efficient way to handle EBNF grammars within JavaScript environments. Its output can then be used in parser generators and other tools to build robust language processing utilities.
The npm package ebnf-parser was actively released in 2013 and early 2014, with a total of 11 versions published in 2013 and one in April 2014. After April 2014 there have been no further releases up to August 2025.
ebnf-parser npm package downloads show fluctuation. From March 2024 to August 2025, downloads varied, with peaks in November 2024 and June 2025. July 2025 also saw high numbers, while August 2025 downloads are not yet complete, showing a moderate level so far.