Skip to content

A compiler for a subset of the C programming language.

License

Notifications You must be signed in to change notification settings

ziyadss/Mini-C-Compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mini-C-Compiler

A compiler for a subset of the C programming language.
Major differences include:

  • No pointers.
  • No casts.
  • No structs or unions.

Notes about generated quadruples

  • Assumes the presence of five registers - retval, retadr, temp1, temp2, and temp3.

Building and Running

    make
    ./bin/compiler.exe examples/fibonacci.c

About

A compiler for a subset of the C programming language.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published