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

Verify that the AST contains at least 1 terminating paragraph #5

Open
c272 opened this issue Apr 12, 2024 · 0 comments
Open

Verify that the AST contains at least 1 terminating paragraph #5

c272 opened this issue Apr 12, 2024 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@c272
Copy link
Owner

c272 commented Apr 12, 2024

Currently, with the introduction of paragraphs, the user can forgo entering a "STOP RUN" clause since the compiler currently has no ability to perform a walk of the call graph to determine whether the program will at some point (theoretically) enter a terminating block.

Perhaps a verify_ast function or something similar should be introduced to perform a static analysis pass before the code generation stage. Does not impact functionality, returns still work as expected, this is just not ideal from the user or compliance perspective.

@c272 c272 added bug Something isn't working enhancement New feature or request labels Apr 12, 2024
@c272 c272 self-assigned this Apr 12, 2024
@c272 c272 closed this as completed Apr 12, 2024
@c272 c272 reopened this Apr 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant