Is there an API for running Scala REPL programmatically? -


and it appears that it will not be equal

  def run line ( Line: string): string   

But has anyone already written this?

There are many examples, but it can be hard to find here, the one I wrote last time :

The hard part is that the interpreter to load the scala jar. I have manually loaded the jar so that it can work with web-start, but in your case, the simple settings.usejavacp.value = true can be sufficient.

You can see the interpreter here:

Comments

Popular posts from this blog

php - Creating canonical URLs with custom route-classes -

mysql - Formatting problem with PHP DateTime Difference when used as part of an equation -

Mysql Local server hardware -