Abdur-rahmaanJ / greenberry

A one-line statement language with grammar and infinite look-ahead
https://abdur-rahmaanj.github.io/greenberry/
Apache License 2.0
50 stars 39 forks source link

Support for >= and <= on if conditionals #70

Closed chrigkou closed 4 years ago

chrigkou commented 4 years ago

I was going through the GreenBerry code and syntax and noticed that 'greater than or equal' ( >= ) and 'less than or equal' ( <= ) signs are currently not supported for if conditionals. I would like to work on it and add this functionality if that's alright.

Abdur-rahmaanJ commented 4 years ago

@chrigkou ok that's fine!

chrigkou commented 4 years ago

I make a pull request for the issue! Adjusted greenberry_search/search_symbol to look for operators consisting of more than one symbol as well.