paul-bennett / juggle

A declarative search tool for Java APIs
Apache License 2.0
5 stars 0 forks source link

Beyond Java #95

Open paul-bennett opened 1 year ago

paul-bennett commented 1 year ago

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.

paul-bennett commented 4 months ago

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.