Skip to content

Quadruples can be used to store intermediate code during compilation

License

Notifications You must be signed in to change notification settings

fauzanzaid/Quadruple-Three-Address-Code-in-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quadruples in C

An implementation of Three Address Code, in C. Quadruples can be used to store intermediate code during compilation.

Building

To build the static library, run the following commands from the terminal:

mkdir build && cd build && cmake .. && make ; cd ..

This will build libQuad.a in ./bin directory.

Usage

Include Quad.h in the source file and link to libQuad.a while compiling the source file.

See include/Quad.h for information about functionality provided by this module.