Skip to content

Add if-else support to Physika#4

Open
JoseAntonioSiguenza wants to merge 5 commits intomainfrom
if-else-statements
Open

Add if-else support to Physika#4
JoseAntonioSiguenza wants to merge 5 commits intomainfrom
if-else-statements

Conversation

@JoseAntonioSiguenza
Copy link
Collaborator

I've updated lexer.py, parser.py, type_checker.py, and type_checker_utils.py to support if-else statements. Also, added to the tests an example computing factorial recursively, to test conditionals.

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.

1 participant