Skip to content

Latest commit

 

History

History

Lab3-3rd-Gen-Compiler

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Lab2 -> Lab3 改造方案大纲

    • Type: int, void
  1. Function:

    • Definition

    • Parametres, Arguments

    • Return Value, as an Expression, e.g. a = add(1, 2) + mul(3, 4);

  2. Operator:

  3. Variable Declaration:

    • Return: Constant, Variable, Expression (Done in Refactored Lab2)