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

Split intermediate representations into for each normal form #16

Open
KeenS opened this issue Apr 9, 2018 · 1 comment
Open

Split intermediate representations into for each normal form #16

KeenS opened this issue Apr 9, 2018 · 1 comment

Comments

@KeenS
Copy link
Owner

KeenS commented Apr 9, 2018

currently we have only AST, HIR, MIR, LIR. However, AST have non typed phase and typed phase, and HIR has renamed (alpha converted) phase, flat_expr (K Normal) phase, flat_let (A Normal) phase.
Each phases should have its own representations

@KeenS
Copy link
Owner Author

KeenS commented May 2, 2018

raw AST
desugared AST (a.k.a Core Language)
alpha converted Core
typed Core
HIR
K Normal
A Nomal
MIR
LIR
WASM

TBD:

  • How to treat Module language
  • Should Core and HIR be the same?

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