Can Juggle be of use to developer of other languages that target the JVM stack as Scala, Kotlin and Groovy?
For each language three obvious dimensions open up:
Understanding and filtering the language's runtime. (E.G. How do Kotlin's standalone functions appear to reflection?)
Accepting queries in a format native to the language.
Printing results using the language's native syntax.
There's lots to research here before diving in.
I anticipate that Juggle will need a new --language= option (default --language=java) to select the intended behaviour, but it might be possible to distinguish languages based on their declaration syntax.
Begun this work by introducing a new Language interface, with methods to create a parser and a sink. Moved original code into a juggle.lang.java package.
Can Juggle be of use to developer of other languages that target the JVM stack as Scala, Kotlin and Groovy?
For each language three obvious dimensions open up:
There's lots to research here before diving in.
I anticipate that Juggle will need a new
--language=
option (default--language=java
) to select the intended behaviour, but it might be possible to distinguish languages based on their declaration syntax.