项目作者: LiadKh

项目描述 :
Compiler - AST & Intermediate Code
高级语言: C
项目地址: git://github.com/LiadKh/Compiler-AST-IntermediateCode.git
创建时间: 2018-12-22T19:16:31Z
项目社区:https://github.com/LiadKh/Compiler-AST-IntermediateCode

开源协议:GNU General Public License v3.0

下载


Compiler - AST & Intermediate code

This project generates intermediate code, you can run ‘myprog.exe’ with input and see the intermediate code to your code.

Note

This code has a specific roles.

For example

  • Statment code must contains ‘;’ on the end of the sentence.
  • Switch case work only with int
  • Code works only as three address code
  • Var must declaration first and the code in { //write the code }
  • FAND is !(AND)
  • auto var get type with the expression

for more plase see the example folder