forked from KevinDuarte/COP3402-Module-3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Zip file with what we upload to webcourses
- Loading branch information
1 parent
125cc42
commit 0b7912c
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
//TEAM | ||
//First team member name: Kevin Duarte | ||
//Second team member name: Nestor Maysonet | ||
|
||
//How to compile: | ||
|
||
gcc driver.c parserwithcodegen.c scanner.c pmachine.c -o driver | ||
|
||
//How to run (ensure there is an input.txt with the PL/0 input code): | ||
|
||
./driver | ||
|
||
//after ./driver you may use the comiler directives -l -a -v to print to the console | ||
|
||
|
||
//The compiler will create these .txt files: | ||
//cleaninput.txt: the input.txt file without comments | ||
//lexemetable.txt: a table with all the lexemes/tokens | ||
//lexemelist.txt: a list of all the lexemes/tokens | ||
//mcode.txt: the assembly code that is generated | ||
//stacktrace.txt: the stacktrace that is generated from the assembly code | ||
|