1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 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