View System over same data
Ziggit
View System over same data
View Some years ago I started building a compiler, the AST was formed by a generic Node with a tag and fields with indexes pointing at the next nodes, this fields were used in different ways depending on the tag, so I had to remember which tag is expected, which fields are used and the expected type. The other problem I had was that each function that needed a Node did not specify which tag and if i wanted to check the tags are the expected ones, it was with a horrible assert. I tried fixing ...
0 comments
No comments yet.