I would like to interpret Scala code from within Scala. I found two approaches on the web:
- IMain e.g. here
- Global.Run e.g. here
Is there a difference in performance? Also, I would like to get the results of the evaluation.
I would like to interpret Scala code from within Scala. I found two approaches on the web:
Is there a difference in performance? Also, I would like to get the results of the evaluation.