anewage / ALang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ALang

A simple grammar implemented using Java, JFlex and YACC. This is the final project of Compiler Design course at Computer Engineering and IT Department.

Steps:

  1. Run JFlex tool (available in Tools) and give the ALang.jflex file as its input.
  2. Run Bison tool using the following command and generate the parser (-v is for debugging issues): bison.exe -L JAVA ../src/Ph2/ALang.yacc -v
  3. Happy Parsing using the parse() metod!

About


Languages

Language:M4 35.2%Language:C 25.1%Language:Java 11.2%Language:XSLT 8.2%Language:Makefile 8.1%Language:C++ 6.8%Language:Yacc 2.0%Language:TeX 1.8%Language:Lex 1.5%Language:Perl 0.2%