Skip to content

lxyu0405/C-Minus-Compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C-- Compiler

This Linux program can translate C-- Codes into MIPS32 Assembly Language.

Steps:

  • Lexical Analysis: Identify lexical unit
  • Parsing: Analyze a sentence into its parts and describe their syntactic roles
  • Semantic Analysis: According to C-- Grammar, check syntax errors
  • Generate Intercode: Translate C-- codes to Three-Address codes
  • Generate MIPS Codes: Translate intercodes to MIPS32 codes
  • Run the codes on Simulator SPIM

Share, Learn and No Plagiarism

About

C- minus compiler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages