issues
search
pc2
/
sus-compiler
A new Hardware Design Language that keeps you in the driver's seat
GNU General Public License v3.0
70
stars
4
forks
source link
Struct fields - tracking issue
#8
Open
VonTum
opened
2 months ago
VonTum
commented
2 months ago
Relates to #2.
To add struct fields, there's a few prerequisites
[x] Use hindley-milner type inference (needs to be done regardless)
[ ] Fields and interface names are resolved at typechecking time (this means removing them from initialization.rs)
[ ] Flattened representation of fields
[ ] Instantiate representation of fields
[ ] Codegen for structs & fields
Relates to #2.
To add struct fields, there's a few prerequisites