From 8164626888793c0e706a8dd9f65a2bedb4110b55 Mon Sep 17 00:00:00 2001 From: Mustafa Quraish Date: Sat, 5 Feb 2022 19:05:40 -0500 Subject: [compiler.cup] Add support for lexically scoped local variables --- run.sh2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'run.sh2') diff --git a/run.sh2 b/run.sh2 index 0e6ee64..9259dd4 100755 --- a/run.sh2 +++ b/run.sh2 @@ -1,15 +1,15 @@ #!/bin/bash # This script does the following: -# 1. Builds the project -# 2. Compiles selected file -# 3. Assembles executable from compiled asm +# 1. Builds compiler written in C first +# 2. Builds the compiler written in CUP with the C compiler +# 3. Compiles the file specified through CLI with CUP compiler # 4. Runs the executable # 5. Echoes the output of the executable if [ -z "$1" ] then - echo "Usage: $0 " + echo "Usage: $0 " exit 1 fi -- cgit v1.2.3