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 some basic static checks to the Pancake compiler #957

Open
IlmariReissumies opened this issue Jun 3, 2023 · 1 comment
Open

Add some basic static checks to the Pancake compiler #957

IlmariReissumies opened this issue Jun 3, 2023 · 1 comment
Labels
good first issue low effort May still assume familiarity Pancake user experience Time needed to perform tasks not related to compiler development

Comments

@IlmariReissumies
Copy link
Member

It would be nice if the bootstrapped compiler would reject Pancake programs:

  • where out-of-scope variables are mentioned, and
  • with missing return statements.

I don't think there's any particular benefit to proving any theorems about these passes, since they do not suffice to imply the absence of runtime failures. But it would remove some pointless foot guns for people who use the bootstrapped compiler.

@IlmariReissumies IlmariReissumies added good first issue user experience Time needed to perform tasks not related to compiler development low effort May still assume familiarity Pancake labels Jun 3, 2023
@IlmariReissumies
Copy link
Member Author

The first of these has been addressed by #986

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue low effort May still assume familiarity Pancake user experience Time needed to perform tasks not related to compiler development
Projects
None yet
Development

No branches or pull requests

1 participant