From c34cd59be89fb26e63fe959b98afabb4f24ba5bd Mon Sep 17 00:00:00 2001 From: Rasmus Luha Date: Wed, 21 Sep 2022 14:16:01 +0300 Subject: init commit --- inc/bfi.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 inc/bfi.h (limited to 'inc/bfi.h') 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 -- cgit v1.2.3