2dLang
Jump to navigation
Jump to search
2dLang (too-dee-lang) is a programming language that uses cellular automata to make stuff
Instructions
Cells
write CELLS in a single line for the lines below CELLS are the cells and above are the rules
#nothing CELLS THIS DOES NOTH ING_
Rule
write a diagram to make a rule
# -> _ _ # CELLS #___ _#__ __#_ ___#
the result is:
____ ____ ____ ####
Examples
Hello world
CELLS HELLO_WORLD
Booleans
0& -> _N 1& -> _Y N0 -> _0 N1 -> _0 Y0 -> _1 Y1 -> _1 !1 -> _0 !0 -> _1 CELLS 0&0 0&1 1&0 1&1 !0 !1