Implement the nil literal expression
MatthewKosloski opened this issue · comments
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 writenil
to standard output.