any static state in scala.tools.nsc.Global?
"P. Oscar Boykin" <[email protected]> Thu, 24 Mar 2016 21:11:58 -0700 (PDT)
| Newsgroups | gmane.comp.lang.scala |
|---|---|
| Message-ID | <[email protected]> |
The name scares me that it might be squirreling away some state, but if I were to instantiate this: https://github.com/scala/scala/blob/2.11.x/src/compiler/scala/tools/nsc/Global.scala 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. -- You received this message because you are subscribed to the Google Groups "scala-language" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.