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

Analysis #36

Merged
merged 16 commits into from
Mar 2, 2019
Merged

Analysis #36

merged 16 commits into from
Mar 2, 2019

Conversation

Dandigit
Copy link
Member

@Dandigit Dandigit commented Mar 2, 2019

Related issue: #34

Changes made
Adds support for semantic analysis and typechecking. Required to pick up invalid code like this:

var foo = 21
var boo = "yo!"

foo + boo // Error!

const oof = 30
oof = 21 // Error!

var foo = 40 // Error!

I've also added a few tests in the tests directory.

@Dandigit
Copy link
Member Author

Dandigit commented Mar 2, 2019

Forget it. I'll fix Travis another day.

@Dandigit Dandigit merged commit 9eaa66c into master Mar 2, 2019
@Dandigit Dandigit deleted the analysis branch March 2, 2019 04:51
@Dandigit Dandigit mentioned this pull request Mar 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant