cspotcode / cspotcode/angl

Update parser to create AST node objects using constructors

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.