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.
-
Notifications
You must be signed in to change notification settings - Fork 1
tifchiu/compiler
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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 0
No packages published