Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Add print support to AST #24

Closed
Lut99 opened this issue Nov 26, 2020 · 0 comments
Closed

Add print support to AST #24

Lut99 opened this issue Nov 26, 2020 · 0 comments
Assignees
Labels
new New feature to the code

Comments

@Lut99
Copy link
Owner

Lut99 commented Nov 26, 2020

To debug the first compileable version of the parser, we will need to see what happens on the stack - and so we will work on adding stack-sufficient printing support to the current AST nodes. In the future, we will likely want to print the AST once it's done parsing - probably as a traversal. For now, though, this suffices.

@Lut99 Lut99 added the new New feature to the code label Nov 26, 2020
@Lut99 Lut99 self-assigned this Nov 26, 2020
Lut99 added a commit that referenced this issue Nov 26, 2020
Some memory leaks and the compiler doesn't go from Directives to Files; nonetheless, doesn't crash during compilation and doesn't segfault anymore :)
Lut99 added a commit that referenced this issue Nov 27, 2020
We went ahead and implemented the pretty-print of the AST as well :)
@Lut99 Lut99 closed this as completed Nov 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
new New feature to the code
Projects
None yet
Development

No branches or pull requests

1 participant