https://github.com/wangwilly/osu-cse-6341
Labs for programming languages
https://github.com/wangwilly/osu-cse-6341
abstract-syntax-tree bash java parser runtime runtime-verification typechecker
Last synced: 4 months ago
JSON representation
Labs for programming languages
- Host: GitHub
- URL: https://github.com/wangwilly/osu-cse-6341
- Owner: WangWilly
- Created: 2024-08-21T16:55:25.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-11-23T03:15:09.000Z (over 1 year ago)
- Last Synced: 2025-04-05T05:04:37.458Z (about 1 year ago)
- Topics: abstract-syntax-tree, bash, java, parser, runtime, runtime-verification, typechecker
- Language: Java
- Homepage:
- Size: 2.95 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OSU - CSE6341
> CSE6341 [programming projects](https://sites.google.com/view/rountev/cse-6341/programming-projects)
📌 Java environment:
```bash
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:
```bash
JFLEX_DIR="/proj/jflex-1.7.0"
CUP_DIR="/proj/cup"
```
## Notes
### 🚩 Project 0
- 📌 [Instructions](https://drive.google.com/file/d/1UNOdZTYtRG2C8e9sjWE1feOObPvSuTBU/view?usp=sharing)
- 📌 [Dependent files](https://drive.google.com/drive/folders/1Cqnf5uVXdf0XAzXjrXIoilNs31VMRPrB?usp=sharing)
- 📌 Test cases
```bash
cd proj/p1
make
./plan t1
./plan t2
./plan t3
```
### 🚩 Project 1
- 📌 [Instructions](https://drive.google.com/file/d/1WVeXnehwmU_DTfx1pdg_64emQX6lP3A5/view?usp=sharing)
- 📌 [Dependent files](https://drive.google.com/drive/folders/1Cqnf5uVXdf0XAzXjrXIoilNs31VMRPrB?usp=sharing)
- 📌 Test cases
```bash
./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:
```bash
./scripts/packHw1.sh
```
### 🚩 Project 2
- 📌 [Instructions](https://drive.google.com/file/d/1HC4W7WKcw8b7XV58Ag16YjAdsJV9ujIp/view?usp=sharing)
- 📌 [Dependent files](https://drive.google.com/drive/folders/1Cqnf5uVXdf0XAzXjrXIoilNs31VMRPrB?usp=sharing)
- 📌 Test cases
```bash
cd proj/p2
make
./scripts/execHw2.sh t_ # t1: success
./scripts/execHw2.sh s_ # s1 -> s2: success
```
- 📌 Pack it up:
```bash
./scripts/packHw2.sh
```
### 🚩 Project 3
- 📌 [Instructions](https://drive.google.com/file/d/14SI58ZKQvvlxwFbCHz_CgMkI5Oqv6zei/view?usp=sharing)
- 📌 [Dependent files](https://drive.google.com/drive/folders/1Cqnf5uVXdf0XAzXjrXIoilNs31VMRPrB?usp=sharing)
- 📌 Test cases
```bash
./scripts/makeHw3.sh
./scripts/execHw3.sh s_ # s1 -> s7: success
```
- 📌 Pack it up:
```bash
./scripts/packHw3.sh
```
### 🚩 Project 4
- 📌 [Instructions](https://drive.google.com/file/d/1G8gKJ_SrWn38rkuugBQmffZaqYhN_VTc/view?usp=sharing)
- 📌 [Dependent files](https://drive.google.com/drive/folders/1Cqnf5uVXdf0XAzXjrXIoilNs31VMRPrB?usp=sharing)
- 📌 Test cases
```bash
./scripts/makeHw4.sh
./scripts/execHw4.sh s_
```
- 📌 Pack it up:
```bash
./scripts/packHw4.sh
```
### 🚩 Project 5
- 📌 [Instructions](https://drive.google.com/file/d/16fkNqLbkSGfZ4KhHmo1i32gBuS2IIylf/view?usp=sharing)
- 📌 [Dependent files](https://drive.google.com/drive/folders/1Cqnf5uVXdf0XAzXjrXIoilNs31VMRPrB?usp=sharing)
- 📌 Test cases
```bash
./scripts/makeHw5.sh
./scripts/execHw5.sh s_
```