I am refactoring a project that uses javaCC to create a proprietary language analyzer at compile time. Due to the fact that different language variants can exist simultaneously, it was decided to dynamically generate Java source code from jj files at runtime, and then compile Java files into class files and load them.
In order to do this more efficiently, I would like to create java files in memory for some thread, I suppose. JavaCC API Javadoc is not too accessible :).
What is the best way to progress?
source
share