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

Lower all expressions to HIR #40

Closed
fabianschuiki opened this issue Feb 3, 2018 · 1 comment
Closed

Lower all expressions to HIR #40

fabianschuiki opened this issue Feb 3, 2018 · 1 comment
Labels
L-vhdl Language: VHDL.

Comments

@fabianschuiki
Copy link
Owner

Implement lowering of all expressions defined in IEEE 1076-2008 section 9.1 to HIR. Use termification to do so, which should make handling of aggregates and other rather wild syntactic issues easier. Then go from the Term and map that to an expression. The building blocks are all there.

Make sure that hir::Expr really only accepts what the aforementioned section of the standard defines as an expression. That is, get rid of all the weird range expressions. Maybe we can drop hir::Expr and replace it directly with hir::ExprData, since the only additional information that the former carries is a span. That span can be retained via Spanned<T>.

@fabianschuiki fabianschuiki added the L-vhdl Language: VHDL. label Feb 3, 2018
@fabianschuiki
Copy link
Owner Author

This is implemented in 17b6108.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L-vhdl Language: VHDL.
Projects
None yet
Development

No branches or pull requests

1 participant