LogicodeLang / Logicode

An esoteric language based on logic gates.
MIT License
12 stars 3 forks source link

Logic gates... more? #13

Closed bortkiewicz closed 8 years ago

bortkiewicz commented 8 years ago

the README says:

Because of that, the only built-in commands are AND, OR and NOT, and you make the rest.

Why not XOR NOR NAND etc

bortkiewicz commented 8 years ago

As well as that, tests/all_logic_gates.lgc shouldn't print anything in the first place since there was no out statements.

somebody1234 commented 8 years ago

@testitem @DerpfacePython is the one making the implementation, plus AND+OR+NOT already makes it pretty much TC.

hanyuone commented 8 years ago

@testitem It's not meant to print anything - they're just meant to be circuits. See this for more details.

Also, those three logic gates (AND, OR, NOT) are enough to made all other logic gates without making everything too tedious.