Skip to content

A compiler which translates C code into MIPS assembly code through an iterative process of tokenization, type-checking, syntax analysis, and finally code generation.

Notifications You must be signed in to change notification settings

tifchiu/compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

C Compiler

This simple compiler processes C code through a Finite State Machine, and translates it into MIPS assembly. states.txt represents the FSM for which the driver code in MIPSgen.cc constructs a tree where every node is a token from the given C code.

WLP4: C language subset

About

A compiler which translates C code into MIPS assembly code through an iterative process of tokenization, type-checking, syntax analysis, and finally code generation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages