Kotlin2Java Translation #99
esthicodes
started this conversation in
Ideas
Replies: 1 comment
-
Define a CFG for Kotlin basic syntax in Kotlin.g4 (NOTE***) Refer to the PDF file in 'lecture resources' : T3A-ANTLR-Kotlin-C++-v2.pdf |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Refer to the lecture slide for PA#3 description from resource board.
You need to program ANTLR based translation program by using visitor pattern.
Your source code should be stored in Kotlin2Java.cpp file and submit it along with makefile and kotlin.g4.
(You can modify kotlin.g4 from PA#2, if you need to.)
File to submit: pa3.tgz, which includes 3 files.
- Kotlin2Java.cpp
- makefile
- kotlin.g4 <--- from PA#2, but you can modify g4 file from your PA#2
Due: Dec 2 (Fri) 23:59 (no late submission is allowed)
Beta Was this translation helpful? Give feedback.
All reactions