Update parser to create AST node objects using constructors
Open
- Dominant language
- TypeScript
- Stars
- 1
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
Rather than creating JSON, parser should construct AST nodes using real constructors with prototypes and methods. AST can still be easily serialized if each node implements a `toJSON()` method.
Also requires (allows?) refactoring the compiler to manipulate the AST using AST nodes' methods rather than the current procedural style.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.