I'm about to write an abstract syntax for OCaml in scala, in combination with a pretty printer.After that I want execute the generated OCaml code from scala and work with the result.
Is there a way to do that, without running a external OCaml compiler, execute the program and reading the result from stdout?