Hello gurus and mates,
I am seeking solutions to load script from a scala file. And the host language is Scala too.
Can anyone share some sample snippet about how to use “scala.tools.nsc.interpreter.IMain.compile()” ??
I found some sample codes online but all of them use older version where the API is quite different. Since I am a novice to Scala I am not able to convert old sample to 2.13.0 API by simply look into the lib code.
Thanks a lot