This repository has been archived by the owner on Jan 29, 2025. It is now read-only.
Validation function for the IR #59
Labels
area: processing
Passes over IR in the middle
help wanted
Extra attention is needed
kind: feature
New feature or request
The
Module
struct that our front-ends produce generally has some level of type-level encoding of the constraints, however many properties can only be checked at run-time. One big area of validation is type checking:Another area is access checking:
Finally we need to enforce some of the conventions. For example, variables can either be stored as pointers (that are loaded/stored), or directly. There is currently no consistency, and whatever we choose would need to be enforced.
We have a proc module for end-point-independent processing. I think the
validator
sub-module could live there. The main task of it would be getting a module and making sure that it's valid. We'd be running it in CI tests to make sure that the module contents produced by the front-ends, or by different processors/transformers, are all valid.The text was updated successfully, but these errors were encountered: