ShathaCodes / mini-java-compiler

Java compiler built with C language with integrated text editor.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mini Java compiler

This projects contain a Java compiler built with C language, as well as a text editor.

Run the application

python .\main.py

execution

Execute the compiler

flex miniJava.lex
bison -d miniJava.y
gcc -o miniJava miniJava.tab.c lex.yy.c
miniJava.exe < example.txt

About

Java compiler built with C language with integrated text editor.


Languages

Language:C 83.7%Language:Yacc 11.1%Language:Lex 2.8%Language:Python 2.4%