You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Make LLVM code generation consume TypedProgram instead of the syntax view #407
enhancementA request for a new feature or improvement.help wantedThe issue requires extra attention or help from others.refactorIssues that require code refactoring without changing functionality.technical debtIssues that represent potential future improvements or problems.
The compiler now constructs parser::hir::TypedProgram, but src/runner.rs immediately calls hir.syntax() and the LLVM backend re-runs expression analysis over cloned AST nodes. This discards the typed HIR boundary and keeps LLVM coupled to legacy AST inference.
Scope
Change the LLVM codegen entry points to accept TypedProgram or a stable backend-neutral HIR view.
Read expression types and resolved semantic facts from HIR identities.
Remove the duplicate analyze_expression_types call in llvm/src/codegen/ir.rs.
Eliminate backend reliance on expression address identity and thread-local semantic maps.
Preserve current code generation for already supported language constructs.
enhancementA request for a new feature or improvement.help wantedThe issue requires extra attention or help from others.refactorIssues that require code refactoring without changing functionality.technical debtIssues that represent potential future improvements or problems.
Activity