Skip to content

JakoError/CompileStudy

Repository files navigation

COMPILESTUDY

flex and bison for SysY language

A project for Compiling SysY Language.

1.Lexical Analyzer

generate token flow

  • manual c process

2.Syntax Analyzer

generate abstract syntax tree

  • manual java process

3.intermidiate code generator and optimizor

combine the semantic analyzer to it

  • ll_example
  • manual c process generate .ll file
  • lrparser BisonCodeGenerate/workout/main.c BisonCodeGenerate/workout/lrparser.tab.c BisonCodeGenerate/workout/lrparser.tab.h BisonCodeGenerate/workout/ast.c BisonCodeGenerate/workout/ast.h BisonCodeGenerate/workout/lex.yy.c BisonCodeGenerate/workout/genllvm.c BisonCodeGenerate/workout/genllvm.h BisonCodeGenerate/workout/hashMap.c BisonCodeGenerate/workout/hashMap.h BisonCodeGenerate/workout/list.c BisonCodeGenerate/workout/list.h

About

flex and bison for SysY language

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published