gdjs2 / SPLCompiler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SPLCompiler

Project 2

TODO

  • Add other scope besides global
  • Global variables type check
  • Global variables name check
  • Global variables assignment check
  • Struct definition name check
  • Struct definition structure check
  • Struct definition members type name check
  • Struct definition members type structural check
  • Struct definition members name check (corresponding to scope)
  • Function void return type
  • Add all function parameters

Project 3

Passed test 1 2 3 4 5 6 7 8 9 10

TODO

  • Support for array and struct
  • Optimize the generated IR

About

License:MIT License


Languages

Language:C++ 70.3%Language:Yacc 17.3%Language:LLVM 9.5%Language:Makefile 1.4%Language:C 1.4%