bytecodealliance / componentize-py

Apache License 2.0
136 stars 13 forks source link

Add support for type aliases #26

Open dicej opened 11 months ago

dicej commented 11 months ago

Currently, componentize-py generates no code for type aliases; instead, it just uses the dealiased types directly. Instead, we should generate assignment expressions for each alias and use the alias in all the same places (e.g. function parameter types, etc.) that the original WIT files used them.