dbaumgarten / yodk

Development Kit for Starbase's ingame programming language YOLOL
MIT License
57 stars 16 forks source link

Optimization proposal #103

Closed vabka closed 3 years ago

vabka commented 3 years ago

Is your feature request related to a problem? Please describe. Optimization from boolean_expr (or_op boolean_expr)+ to boolean_expr (plus_op boolean_expr)+ gt_op 0

Describe the solution you'd like a or b(6 chars) expression is long and can be shortened to a+b>0 (5 chars)

I think it is possible and I can do it, if I get some instructions

vabka commented 3 years ago

Code is not equivalent