-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathInstructions to run.txt
27 lines (21 loc) · 1016 Bytes
/
Instructions to run.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
The interpreter can be run by two methods.
1. Using Direct Python Commands
2. Using Makefile
1. Using Direct Python Commands
1.1. Open the terminal and navigate to the directory where the interpreter is located.
1.2. Run the following commands for output, ast and standardized ast respectively.
python myrpal.py input.txt
python myrpal.py input.txt -ast
python myrpal.py input.txt -sast
1.3. More inputs can be found in inputs/ directory.
2. Using Makefile
2.1. Open the terminal and navigate to the directory where the interpreter is located.
2.2. Run the following commands for output, ast and standardized ast respectively.
make run file=input.txt
make ast file=input.txt
make sast file=input.txt
Just simple as that 😊😁
📝 If you are facing any issues while running this, feel free to contact us.
📧[email protected] - Irash
📧[email protected] - Niroshan
For more information, refer README.md