Repository navigation
v0.2.0-alpha
Pre-release
Pre-release
TypeScript Migration for gram-parser
This refactor migrates the entire gram-parser codebase from JavaScript to TypeScript to enhance project robustness and maintainability.
Key Changes:
- TypeScript: Converted all source files to TypeScript (
src/*.ts). - Strict Typing: Comprehensive interface definitions for the AST and internal compiler structures.
- Build: Added a compilation step (
npm run build) that generates JavaScript code and declaration files (.d.ts) in thedist/directory.
No changes were made to the .gram grammar itself.