𖦹 File Structure
Compilers-HW1/
├── Readme.md
│
├── Part1/
│ ├── Readme.md (grammar analysis, FIRST/FOLLOW sets, etc)
│ ├── Main.java
│ ├── StringEvaluator.java
│ └── ParseError.java
│
├── Part2/
│ ├── Readme.md (analysing part2 choices)
│ ├── Main.java
│ ├── Makefile
│ ├── scanner.flex
│ ├── parser.cup
│ └── tests/
│ ├── input1.txt - input14.txt
│
├── java-cup-11b.jar
└── java-cup-11b-runtime.jar
➤ for detailed analysis and implementation justification,please reference the README.md in each part's folder