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 the nil literal expression #28

Open
MatthewKosloski opened this issue Oct 4, 2021 · 0 comments
Open

Implement the nil literal expression #28

MatthewKosloski opened this issue Oct 4, 2021 · 0 comments
Labels
feature New feature or request

Comments

@MatthewKosloski
Copy link
Owner

MatthewKosloski commented Oct 4, 2021

Modify the grammar to include a nil expression:

primitive     -> integer | boolean | "nil" ;

Acceptance Criteria:

  • Can print nil to standard output
  • No longer throws semantic error when printing expressions with data type nil. Instead, we should just write nil to standard output.
@MatthewKosloski MatthewKosloski added the feature New feature or request label Oct 4, 2021
@MatthewKosloski MatthewKosloski changed the title Add the nil expression Implement the nil literal expression May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant