Skip to content

v0.2.0-alpha

Pre-release
Pre-release

Choose a tag to compare

@abiwab abiwab released this 30 Dec 17:53
· 1146 commits to main since this 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 the dist/ directory.

No changes were made to the .gram grammar itself.