diff options
| author | Mustafa Quraish <[email protected]> | 2022-02-05 19:05:40 -0500 |
|---|---|---|
| committer | Mustafa Quraish <[email protected]> | 2022-02-05 19:05:40 -0500 |
| commit | 8164626888793c0e706a8dd9f65a2bedb4110b55 (patch) | |
| tree | 235a1381f3cebb5447f9baa807e470945ba04e81 /run.sh2 | |
| parent | Add implementation of self-hosted compiler so far (diff) | |
| download | cup-8164626888793c0e706a8dd9f65a2bedb4110b55.tar.xz cup-8164626888793c0e706a8dd9f65a2bedb4110b55.zip | |
[compiler.cup] Add support for lexically scoped local variables
Diffstat (limited to 'run.sh2')
| -rwxr-xr-x | run.sh2 | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |