Compiler construction using Flex and Bison
Clone this repository. You will need flex
, bison
, and gcc
installed on your machine.
$ chmod +x build.sh clear.sh
$ ./build.sh
compiled: compiler
, grammar.tab.c
, grammar.tab.h
, lexer.yy.c
$ ./compiler FILE_NAME.txt
$ ./clear.sh