This project has been created at the FH Aachen - University of Applied Sciences (Faculty 5) in the subject Theoretical Computer Science (German: "Theoretische Informatik").
The solved exercises can be found in the docs directory.
- ANTLR: Generate Java code based on While0 grammar file
- Kotlin: Use generated Java source code (is placed in
build/generated-src
) - Gradle: Build tool used to automatize the workflow and ANTLR code generation described above, see build.gradle
- Show how to use the tech-stack described above
- Show how ANTLR can be utilized to compile code (While0 to URM, see [Wikipedia](https://en.wikipedia.org/wiki/LOOP_(programming_language) for more information)
- Use ANTLR's Visitor pattern and Error Listener
- Effectively use Kotlin's extensions and advantages
- Keep the project simple and small