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

HIR #63

Open
tertsdiepraam opened this issue Sep 11, 2024 · 0 comments
Open

HIR #63

tertsdiepraam opened this issue Sep 11, 2024 · 0 comments

Comments

@tertsdiepraam
Copy link
Contributor

The compiler currently has the following stages:

  • String
  • AST
  • IR
  • CLIF
  • Machine code

The jump between AST and IR is getting a bit big, so we need something in-between. Therefore, we should rename the IR to LIR and introduce an HIR.

This HIR should not deal with raw memory accesses but should still have more type information. It should also know about aggregate types. This will allow us to deal with ABI concerns between HIR and LIR.

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

No branches or pull requests

1 participant