grol-io / grol

Go REPL Open Language
https://grol.io
Apache License 2.0
13 stars 1 forks source link

Fix parsing issue inside if conditions #180

Closed ldemailly closed 3 weeks ago

ldemailly commented 3 weeks ago

Hardcoding effect of open paren wasn't very good

Fix #179

Of note we should rely simplify the expressions because

if 1+2==3 {} 

doesn't need to be written

if (1+2)==3 {}