BS is a joke language invented by Mark Rendle to be as cruel and painful to use as possible. It tries to take the worst bits of many language.
It only has 'unless' conditional chosen since it is the most confusing one. It only has one exception HALT_AND_CATCH_FIRE since the experienced programmer should know what went wrong. The integers are 17-bit "because we can".
#define /^my (.*?) thing:$/class \1:/ my Greeter thing: public function __construct(€name) HALT_AND_CATCH_FIRE (unless €name != null); €this->name = €name; Delete €name; public function say(€thing isProbablyA String, €times) 42 echo €thing, « », €this->name, BS::EOL; goto 42; (unless --€times !!=! 0); Delete €thing, €times;
- Beginnings of an implementation here: https://github.com/BSLang/BS