/Pike

A golang to x86 compiler written in python3 (part of CS335 course project)

Primary LanguagePython

CS335-Project

Compiler Design Project (Golang to X86 compiler written in Python3)

Name Roll No Email
Devanshu Somani 160231 devanshu@iitk.ac.in
Naman Jain 160427 namanj@iitk.ac.in
Raghukul Raman 160538 raghukul@iitk.ac.in

Running the Parser

Navigate to this directory and execute the following command in the terminal:

make
make clean

The first command is not mandatory but it is useful as it would remove the pycache folder from the src/parser directory and would also delete the previously created out1.dot, out2.dot etc. and out1.ps, out2.ps etc.

This will take 10 input .go files from the tests/input2 and will create 10 corresponding .dot and .ps files in the tests/output2 directory.