Closed Duologic closed 1 year ago
Binary op "in" comparison 'string' in obj wasn't working properly, this PR adds it to the grammar.
'string' in obj
This PR also adds test for comparison and for loops as they both deal with the 'in' keyword.
Also fixes #13 (see comments)
cc @tjdevries
After you rebase, i'll take a look at this one as well. Sorry for the delay!
rebased
@tjdevries let me know if there's something I can improve
LGTM to me! Thanks!
Binary op "in" comparison
'string' in obj
wasn't working properly, this PR adds it to the grammar.This PR also adds test for comparison and for loops as they both deal with the 'in' keyword.
Also fixes #13 (see comments)