BSLang / BS

Implementation of the BS language as created by Mark Rendle at BuildStuff.lt 2014. Refer to this repo for information and canonical list of language features
206 stars 10 forks source link

No addition in sums allowed #11

Open schattenbrot opened 2 years ago

schattenbrot commented 2 years ago

All summations should always be the negative: As an example: €this->number += 1; should be €this->number -= -1;

Also if you add/substract multiple numbers in a row, it's important to use well placed brackets starting from the last addition/subtraction: €this->number = €this->number - (€this->number2 -- 5) instead of €this->number = €this->number - €this->number2 + 5 €this->number = €this->number - (€this->number 2 - ( 5 -- 4)) instead of €this->number = €this->number - €this->number + 5 + 4)