log
Jump to navigation
Jump to search
log is an esolang invented by User:A based on NOR logic.
Syntax
There are only 2 commands:
(... ...) It changes the operation into the answer after using the NOR operation. Note that the space is just for seperating the parameters and can be replaced into any invisible character. If one or both parameter(s) is (...), the seperation can be deleted. And also, if there is only 1 parameter, the operation is parameter NOR parameter.(Inspired by FerNANDo) 0 NOR 0 = 1 0/1 NOR 1 = 0 1 NOR 0 = 0 A-Z Input a bit and change it into 0 or 1 (input in ASCII order). Each letter will be input once (if it is used), A is input before B before C. The result of every end of () will be outputted.
XOR
(((A A)(B B))(A B))
or
(((A(A B))(B(A B)))((A(A B))(B(A B))))
or
(((A)(B))(A B))
or
(((A(A B))(B(A B))))
NOT
(A A)
or
(A)
OR
((A B)(A B))
or
((A B))
AND
((A A)(B B))
or
((A)(B))
NAND
(((A A)(B B))((A A)(B B)))
or
(((A)(B)))
XNOR
((A(A B))(B(A B)))
or
((B(A A))(A(B B)))
or
((B(A))(A(B)))