summaryrefslogtreecommitdiff
path: root/inc/bfi.h
diff options
context:
space:
mode:
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