Tooling question: Jextract as a library for programmatic usage

Tamara Cook info at infolektuell.de
Tue Oct 8 13:05:45 UTC 2024


Hi,

Let’s assume that running Jextract can be seen as a step in a complete build process, similar to other code generators e.g. ANTLR, ProtoBuf and alike. In this scenario, the bindings are not checked into source control, they’re build intermediates. This differs a bit from the more traditional approach of manually running Jextract once and committing the bindings.

For the first approach, build tools have to integrate with Jextract. I was wondering if it would be realistic to have Jextract also packaged as a Java library for programmatic usage, so build tools or their plugins could use it as implementation dependency.

Thanks and greetings
Tamara


More information about the jextract-dev mailing list