wadackel/rs-monkey-lang

Using multiple operators causes failure

Opened this issue · 0 comments

I noticed this in the Online Playground.

When you enter let a = 1 ++ 1 it spits out the expected error... "Unexpected Token: no prefix parse function for "Plus" found".

But if you enter more operators... let a = 1 ++++ 1, it outputs nothing. It's the same for other operators like slash and multiply.