Skip to content

some slides, homeworks, labs and other materials about the class of compiler

Notifications You must be signed in to change notification settings

viiika/Compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compiler

Course mainpage:

https://cs.nju.edu.cn/changxu/2_compiler/index.html

Description:

This is a lab using C to implement a simplified compiler which includes lexical analysis, syntax analysis, semantic analysis, intermediate code generation, intermediate code optimization, target code generation, target code optimization.

And as a result, this program could transfer our c codes to mips codes.

Lab's main steps:

  1. Lexial Analysis and Syntax Analysis

  2. Semantic Analysis

  3. Intermediate Code Generation and Optimization

  4. Target Code Generation and Optimization

Run command

make

Single Test

./parser path_to_test path_to_output

About

some slides, homeworks, labs and other materials about the class of compiler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published