Skip to content

WangWilly/osu-cse-6341

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OSU - CSE6341

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"

Notes

🚩 Project 0

cd proj/p1
make

./plan t1
./plan t2
./plan t3

🚩 Project 1

./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

🚩 Project 2

cd proj/p2
make

./scripts/execHw2.sh t_ #  t1:  success
./scripts/execHw2.sh s_ #  s1 -> s2:  success
  • 📌 Pack it up:
./scripts/packHw2.sh

🚩 Project 3

./scripts/makeHw3.sh

./scripts/execHw3.sh s_ #  s1 -> s7:  success
  • 📌 Pack it up:
./scripts/packHw3.sh

🚩 Project 4

./scripts/makeHw4.sh

./scripts/execHw4.sh s_
  • 📌 Pack it up:
./scripts/packHw4.sh

🚩 Project 5

./scripts/makeHw5.sh

./scripts/execHw5.sh s_