CSE6341 programming projects
📌 Java environment:
java -version
# (on MacOS)
# java version "21.0.4" 2024-07-16 LTS
# Java(TM) SE Runtime Environment (build 21.0.4+8-LTS-274)
# Java HotSpot(TM) 64-Bit Server VM (build 21.0.4+8-LTS-274, mixed mode, sharing)
# (on OSU coelinux)
# openjdk version "20.0.2" 2023-07-18
# OpenJDK Runtime Environment (build 20.0.2+9-78)
# OpenJDK 64-Bit Server VM (build 20.0.2+9-78, mixed mode, sharing)
📌 Necessary environment variables:
JFLEX_DIR="<path-to-this-repo>/proj/jflex-1.7.0"
CUP_DIR="<path-to-this-repo>/proj/cup"
- 📌 Instructions
- 📌 Dependent files
- 📌 Test cases
cd proj/p1
make
./plan t1
./plan t2
./plan t3
- 📌 Instructions
- 📌 Dependent files
- 📌 Test cases
./scripts/execHw1.sh t_ # t1 -> t5: success
./scripts/execHw1.sh s_ # s1 -> s5: fail
./scripts/execHw1.sh s_c # s1c -> s5c: success
- 📌 Pack it up:
./scripts/packHw1.sh
- 📌 Instructions
- 📌 Dependent files
- 📌 Test cases
cd proj/p2
make
./scripts/execHw2.sh t_ # t1: success
./scripts/execHw2.sh s_ # s1 -> s2: success
- 📌 Pack it up:
./scripts/packHw2.sh
- 📌 Instructions
- 📌 Dependent files
- 📌 Test cases
./scripts/makeHw3.sh
./scripts/execHw3.sh s_ # s1 -> s7: success
- 📌 Pack it up:
./scripts/packHw3.sh
- 📌 Instructions
- 📌 Dependent files
- 📌 Test cases
./scripts/makeHw4.sh
./scripts/execHw4.sh s_
- 📌 Pack it up:
./scripts/packHw4.sh
- 📌 Instructions
- 📌 Dependent files
- 📌 Test cases
./scripts/makeHw5.sh
./scripts/execHw5.sh s_