Skip to content

A reduced C compiler made using flex, yacc and gnu assembler.

Notifications You must be signed in to change notification settings

biswajitsc/tinyC-compiler

Repository files navigation

tinyC Compiler

A reduced C compiler made 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.

Compile using tinyC

  • Allow files to execute

    chmod +x compile.sh
    chmod +x test.sh
    
  • Compile

    ./compile.sh filename.c
    
  • Run

    ./filename.out
    

Run test files

To run all test files provided in test folder,

./test.sh

About

A reduced C compiler made using flex, yacc and gnu assembler.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published