Skip to content

Commit

Permalink
Rewrite symbol resolution for readability and efficiency
Browse files Browse the repository at this point in the history
Change the internal representation of references to not fuse module name and declaration name into a flat string anymore. Instead, we expand the reference model in the Fir compiler to hold the module name separately. One benefit of this change is saving operations when building the collection(s) representing the imports.
Expand the compilation to map local references to canonical names earlier (according to the import statements found in the current module)
  • Loading branch information
Viir committed Aug 2, 2024
1 parent af06927 commit 9e2de85
Show file tree
Hide file tree
Showing 4 changed files with 975 additions and 1,082 deletions.
Loading

0 comments on commit 9e2de85

Please sign in to comment.