Skip to content

muhammad-sayed-mahdy/compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

compiler

How to run

To compile and run use:

make

To just run use:

make run

The input file can be found in data/in.cpp, you can play with this file and run.
You can also change the input file and run the program after compiling with

./src/a.out <input_file> <output_quad_file> <symbol_table_file>

GUI

This compiler has a windows application GUI built with WPF and C#

image

Note: in the first time you run the GUI, it will prompts you to provide the windows executable of the compiler that is generated by compiling the files.