Frontend for the LLParse compiler, version 3.0.0. This package provides the parsing and AST generation logic for llparse, an LL(1) parser generator for Node.js and browsers. It is part of a larger ecosystem that includes llparse-backend and llparse-util. The library is written in TypeScript and ships type definitions. It is actively maintained but still considered WIP. Key differentiators: designed for performance and low memory footprint, suitable for building efficient parsers. Released under MIT License.
npm install llparse-frontendNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create a Frontend instance, parse an arithmetic expression, and log the AST.
Use ES module imports (import ... from 'llparse-frontend') or downgrade to v2.x.
Pin to exact version and test upgrades thoroughly.
Verify types against runtime, especially for complex grammars.
Use dynamic import() or switch to ES modules in your project.
Ensure you are using the named export Frontend: import { Frontend } from 'llparse-frontend';Check the syntax of the input code; ensure it matches the expected grammar.
No dependency data recorded yet.