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

Static typing: Variables #29

Merged
merged 4 commits into from
May 7, 2022
Merged

Static typing: Variables #29

merged 4 commits into from
May 7, 2022

Conversation

Hoxmot
Copy link
Owner

@Hoxmot Hoxmot commented May 7, 2022

Implemented static typing for variable declaration and usage as a part of bigger #15

Resolves #28

Hoxmot added 4 commits May 5, 2022 00:56
TODOs:
* Save the variable in checker state
* Add error handling
* Repeat the same for bool, unit, and var
* Added Environment and State
* Processed adding the values to the current State
Type checker can now process variable usage and understand their types.
@Hoxmot Hoxmot added the required Core feature to be implemented label May 7, 2022
@Hoxmot Hoxmot added this to the Working interpreter milestone May 7, 2022
@Hoxmot Hoxmot self-assigned this May 7, 2022
@Hoxmot Hoxmot merged commit 9c96d43 into master May 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
required Core feature to be implemented
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Static typing: Variables
1 participant