NateEpps / ncc4

2 stars 0 forks source link

Better error message needed here #8

Closed NateEpps closed 2 years ago

NateEpps commented 2 years ago
Error Case "AddAdd"
Input:
>>> 2 + +
Error Output:
>>> movq $2, %rax
>>> pushq %rax
>>> ## expected NOT operator [next = '?']

"Expected NOT operator?"

well that's NOT clear

we're not expecting an operator not expecting the BOOLEAN NOT operator

NateEpps commented 2 years ago

I think this is fixed, need to re-run tests

NateEpps commented 2 years ago
Error Case "AddAdd"
Input:
>>> 2 + +
Error Output:
>>> movq $2, %rax
>>> pushq %rax
>>> ## expected non-operator [next = '?']