2

I would like to interpret Scala code from within Scala. I found two approaches on the web:

  1. IMain e.g. here
  2. Global.Run e.g. here

Is there a difference in performance? Also, I would like to get the results of the evaluation.

Karsten
  • 882
  • 6
  • 18
  • I'm always curious why there's so much interest in this sort of thing. What leads you to want to do this? – Randall Schulz Mar 12 '14 at 14:09
  • Oh, I am just hacking on a IPython notebook like thing for Scala. I know there are already some projects doing this but I want to try it on my own and do a few things differently. – Karsten Mar 12 '14 at 14:16
  • https://stackoverflow.com/questions/1183645/eval-in-scala – Dmytro Mitin Sep 30 '22 at 11:09

0 Answers0