moeinsh78 / Jepeto-Compiler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jepeto Compiler

In this project, we implemented Jepeto language compiler using java from scratch. This language has almost all of the features of widely used programming languages; features such as computational, logical and comparative operators, function and function calls, flow control, scopes and an extra feature named Anonymous Function.

Different modules are included in this compiler as same as an ordinary compiler:

  • AST
  • Code Generator
  • Name Analyzer
  • Type Checker
  • Visitor
  • Grammar processor

Tools such as Java, ANTLR, and Jasmin were used in different parts of the project from checking the grammar to generating bytecodes.

About


Languages

Language:Java 88.7%Language:ANTLR 8.4%Language:Jasmin 2.9%