News for hackers. Stuff that matters.
Re:Racket: Parsing propositional logic in 33 lines by fanf2 on Friday October 16, 2020 @07:00AM (#24799556)
Aha, occam is another example, but it uses AND and OR for logical expressions but \/ or /\ for bitwise, plus the exciting >< for xor! http://transputer.net/obooks/obooks.asp
Re:Racket: Parsing propositional logic in 33 lines by kazinator on Friday October 16, 2020 @01:38PM (#24803078)
XOR is just a Boolean "not equal to"; if I had to express that with > and <, I would crib from BASIC and use <>.