Skip to content

coderchenlin/tiger-compiler

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tiger Compiler.

This is a repo for tiger compiler.

Statement

Statement Struct
Stm -> Stm; Stm CompoundStm
Stm -> id := Exp AssignStm
Stm -> print(ExpList) PrintStm
Exp -> id IdExp
Exp -> num NumExp
Exp -> Exp Binop Exp OpExp
Exp -> (Stm, Exp) EseqExp
ExpList -> Exp, ExpList PairExpList
ExpList -> Exp LastExpList
Binop -> + Plus
Binop -> - Minus
Binop -> x Times
Binop -> / Div

About

Tiger compiler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 98.0%
  • Makefile 1.5%
  • Other 0.5%