Skip to content

daniel-saeedi/Compiler-Design

Repository files navigation

Compiler-Design

This is a compiler for new Object Oriented language called SimpleLOOP. Here you can see the documentation of this language.

Phases:

  • Phase1 -> Lexical Analyzer and Parser: SimpleLOOP.g4

  • Phase2:

    • Making AST Tree In Grammer
    • AST Tree Nodes
    • Name Analyzing
    • Printing Some Errors Realted To Name And Scoping
    • Printing AST Tree If There Was No Error
  • Phase3:

    • Type checking
    • Checking base rules such as Main class conditions
    • Checking accessibilities
  • Phase4:

    • Code generation using Jasmin

About

My projects at Compiler Design course.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages