Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AST Validation #79

Merged
merged 35 commits into from
May 7, 2023
Merged

AST Validation #79

merged 35 commits into from
May 7, 2023

Conversation

A1Liu
Copy link
Owner

@A1Liu A1Liu commented May 5, 2023

  • Deleted some old code
  • Moved C library code again
  • Moved test runner to the test crate
  • Moved lexer, macros, and parser to the parser module
  • Re-organize derived declarator system to be nested, so that it's easier to ride the parent-pointer chain to the declaration w/ the base type
  • Removed print_err from internals of run_compiler, and instead the full error gets returned to the StageOutput
  • Made display_tree accept Vec<AstNode> instead of AstNodeVec
  • Fixed display_tree to print roots in order instead of reversed order
  • Add basic type database system
  • Add types for AstDeclarator
  • Removed test running for projects that don't really do testing
  • Add type display for AST identifier nodes

@A1Liu A1Liu marked this pull request as ready for review May 7, 2023 08:40
@A1Liu A1Liu merged commit 2a29195 into rewrite May 7, 2023
@A1Liu A1Liu deleted the ast-validation branch May 7, 2023 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant