feat: create buffer and define commands

This commit is contained in:
2021-06-15 09:57:33 -04:00
parent 819311d8be
commit 3112dd5714

14
dopey.py Normal file
View File

@@ -0,0 +1,14 @@
# create memory buffer
BUFFER_SIZE = 30_000
buffer = [0 for _ in range(BUFFER_SIZE)]
# define bf commands
SHIFT_LEFT = "<"
SHIFT_RIGHT = ">"
INCREMENT = "+"
DECREMENT = "-"
OUTPUT = "."
INPUT = ","
OPEN_LOOP = "["
CLOSE_LOOP = "]"