Servostar / gemstone

Gemstone programming language compiler (GSC)
GNU General Public License v2.0
3 stars 0 forks source link

added rules for operators #45

Closed Servostar closed 2 months ago

Servostar commented 2 months ago

Added rules for operators. These include:

Operators have corresponding associativity , unary operators such as Not and Negate additionally have greater precedence.

flixm16 commented 2 months ago

what about less and greater, less equals and greater equals? what about not equals?

Servostar commented 2 months ago

Implemented greater, less operator. Since no tokens for >=, <= or != exist, these operators won't be implemented