Skip to content
Wheatwizard edited this page Jan 19, 2018 · 18 revisions

This page is currently incomplete

This is a list of stack clean logical operators. These operators assume input values on the top of the current stack. For input, any integer is accepted with 0 being False and anything else being True. For output 0 is False and 1 is True. More lenient input formats may yield shorter solutions.

Unary logical operations

Not

((){[()](<{}>)}{})

Courtesy of Megatom

Id

({()(<{}>)}{})

Binary logical operations

And

({<{}>{}((<()>))}<{}{}>)

Courtesy of Megatom

Nand

((){<{}>{[()](<{}>)}({})}<{}{}>)

Courtesy of Megatom

Or

{(<({}<{}>)>)}{}

Nor

(()[{((<{}{}>))()}{}{()(<{}>)}]{})

Courtesy of Megatom

Xor

({()<{}>{[()]((<{}>))}}{}{()(<{}>)}{})

Xnor

(()[{()<{}>{[()]((<{}>))}}{}{()(<{}>)}{}])