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

TODO: validation #2

Open
5 tasks
borismarin opened this issue Mar 27, 2017 · 0 comments
Open
5 tasks

TODO: validation #2

borismarin opened this issue Mar 27, 2017 · 0 comments

Comments

@borismarin
Copy link
Owner

borismarin commented Mar 27, 2017

we won't do much semantic analysis for the time being (tacit assumption: we are being fed 'valid' modfiles and just want to do codegen), but if we wanted to build a proper compiler, it would be important checking for:

  • all vars in exprs defined
  • scoping
  • units (modlunit)
  • all vars in STATE have the corresponding derivatives in DERIVATIVE
  • SOLVE solves DERIVATIVE with known METHOD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant