A compiler for a C-like language (a subset of C language) implemented using using flex, yacc and gnu assembler. Supports common C functions such as variable declarations & assignments for int, char and string data types, loops, arithmetic operations, function calls, arrays, and variable scopes.
-
Allow files to execute
chmod +x compile.sh chmod +x test.sh
-
Compile
./compile.sh filename.c
-
Run
./filename.out
To run all test files provided in test folder,
./test.sh