Stuff related to the LOLCODE language.
4 posts Page 1 of 1
Postby Hoolean » Mon Feb 02, 2015 4:15 am
Hey all!

I was wondering if there were any plans to ever include Bitwise Operators in the LOLCODE specs. I couldn't find anything as of present but wanted to see if it was in the works.

If it's not, I'd sure appreciate it as a feature ;)


~ Hoolean
Postby jjm » Mon Feb 02, 2015 4:49 am
While there aren't any defined yet, with the right syntax they could definitely be included in a future language specification!
Postby Rhodri » Sat Feb 21, 2015 11:02 pm
The obvious place to steal from is the regular boolean operators. How about:

Code: Select all
BOTH BITZ OF <x> [AN] <y>         BTW and
EITHER BIT OF <x> [AN] <y>        BTW or
WON BIT OF <x> [AN] <y>           BTW xor
FLIP BITZ OF <x>                  BTW not
ALL BITZ OF <x> [AN] <y> ... MKAY  BTW infinite arity AND
ANY BITZ OF <x> [AN] <y> ... MKAY  BTW infinite arity OR
Postby jjm » Fri Apr 03, 2015 6:00 am
4 posts Page 1 of 1


Who is online

Users browsing this forum: No registered users and 1 guest