-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setup structure for CodeGen 1. We may need to find some algorithm for CodeGen. Simple cata recursion can not fullfill our needs. e.g. When we do codegen for expr, we may want to gen constant nodes first and later transform them into operands. And for lambda, we may need to collect lambda headers (\header -> body) before we generating code. All these can of course be handled by another pass and we can have proper structure for CodeGen without other problems. But is there existing a way to do all this on the fly?
- Loading branch information
dunor
committed
Aug 12, 2023
1 parent
635b59c
commit 055b41e
Showing
9 changed files
with
182 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.