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

Add check__in_string_imports #646

Open
bvssvni opened this issue Oct 2, 2019 · 0 comments
Open

Add check__in_string_imports #646

bvssvni opened this issue Oct 2, 2019 · 0 comments

Comments

@bvssvni
Copy link
Member

bvssvni commented Oct 2, 2019

Sometimes it is nice to use Dyon scripts to analyze Dyon code. The lifetime/type checker has a lot of useful knowledge about the source that currently is not available for Dyon scripts.

For example:

  • which functions are called
  • from where functions are called
  • the type of an expression in the code
  • the parent/child relationships of expressions
  • the kind of an expression (call, call argument, loop etc.)

By adding a check__in_string_imports, scripts can access the knowledge that the lifetime/type checker has about the source at the end of inference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant