aboutsummaryrefslogtreecommitdiff
path: root/run.sh2
diff options
context:
space:
mode:
authorMustafa Quraish <[email protected]>2022-02-05 19:05:40 -0500
committerMustafa Quraish <[email protected]>2022-02-05 19:05:40 -0500
commit8164626888793c0e706a8dd9f65a2bedb4110b55 (patch)
tree235a1381f3cebb5447f9baa807e470945ba04e81 /run.sh2
parentAdd implementation of self-hosted compiler so far (diff)
downloadcup-8164626888793c0e706a8dd9f65a2bedb4110b55.tar.xz
cup-8164626888793c0e706a8dd9f65a2bedb4110b55.zip
[compiler.cup] Add support for lexically scoped local variables
Diffstat (limited to 'run.sh2')
-rwxr-xr-xrun.sh28
1 files changed, 4 insertions, 4 deletions
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 <arguments to cupcc>"
+ echo "Usage: $0 <arguments to build/cup.out>"
exit 1
fi