The name scares me that it might be squirreling away some state, but if I were to instantiate this:
and pass it the same options the command line wound have in scalac, can I expect that all state is reset on each new instantiation?
What I am really trying to do is be able to get the jit to run on the code, leave a compiler resident and have it compile without one run changing the state of the next (for the bazel build system:
https://github.com/bazelbuild/rules_scala ). Bazel's model makes zinc integration a challenge (maybe doable, but this is a first step anyway).
Any feedback on what I am trying to do would be great.