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

Sketch the new frontend component translator (no inlining) producing HIR2-style IR structure #367

Draft
wants to merge 18 commits into
base: next
Choose a base branch
from

Conversation

greenhat
Copy link
Contributor

@greenhat greenhat commented Jan 2, 2025

This PR introduces ComponentTranslator2 producing HIR2-style IR Component with export interfaces, etc. The HIR2-style Component is roughly sketched in the hir2_sketch module after the HIR2, and will be discarded in favor of the real HIR2 when it's available.

TODO:

  • CanonLower synthetic functions (component imports) should be implemented in the same module where they are called;
  • CanonLift synthetic functions (component exports) should be implemented in the Interface;
  • sketch inner calls in the synthetic function bodies;
  • address TODOs;
  • document code;

@greenhat greenhat force-pushed the greenhat/sketch-hir2-frontend branch 2 times, most recently from 4c2cd7a to 2aa6ce3 Compare January 3, 2025 05:29
@greenhat greenhat force-pushed the greenhat/sketch-hir2-frontend branch from 97e2da8 to f3318dd Compare January 10, 2025 15:34
@greenhat greenhat force-pushed the greenhat/sketch-hir2-frontend branch from f4fa63a to c00fc21 Compare January 17, 2025 19:15
@bitwalker bitwalker force-pushed the greenhat/sketch-hir2-frontend branch from c00fc21 to 769c714 Compare January 17, 2025 20:22
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.

2 participants