summaryrefslogtreecommitdiff
path: root/inc/bfi.h
diff options
context:
space:
mode:
authorRasmus Luha <rasmus.luha@gmail.com>2022-09-21 14:16:01 +0300
committerRasmus Luha <rasmus.luha@gmail.com>2022-09-21 14:16:01 +0300
commitc34cd59be89fb26e63fe959b98afabb4f24ba5bd (patch)
tree60531983cb0bfef27ab91cb3be41ebd40b324c9f /inc/bfi.h
init commit
Diffstat (limited to 'inc/bfi.h')
-rw-r--r--inc/bfi.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/inc/bfi.h b/inc/bfi.h
new file mode 100644
index 0000000..7f3dbce
--- /dev/null
+++ b/inc/bfi.h
@@ -0,0 +1,17 @@
+#ifndef __BFI_H__
+#define __BFI_H__
+
+enum instructions_e{
+ BF_RIGHT = '>',
+ BF_LEFT = '<',
+ BF_INCREASE = '+',
+ BF_DECREASE = '-',
+ BF_READ = ',',
+ BF_PRINT = '.',
+ BF_START_LOOP = '[',
+ BF_END_LOOP = ']',
+ BF_DEBUG = '#'};
+
+void intepret(char *program);
+
+#endif