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

Implement type checking #18

Closed
frendsick opened this issue May 15, 2022 · 2 comments
Closed

Implement type checking #18

frendsick opened this issue May 15, 2022 · 2 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@frendsick
Copy link
Owner

frendsick commented May 15, 2022

Type checking of sorts were implemented in compiler/program.py inside function type_check_program using compile-time virtual stack. That stack however were not enough to provide accurate enough type checking for programs with different kinds of control clauses (IF, WHILE) or functions. Type checking should be re-implemented so that it takes code branching properly into account.

@frendsick frendsick added bug Something isn't working enhancement New feature or request labels May 15, 2022
@frendsick frendsick self-assigned this May 20, 2022
@frendsick
Copy link
Owner Author

Implementing type checking in feature/type-checking branch.

@frendsick
Copy link
Owner Author

This is implemented in PR #24

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