title: Can I compile a string containing Scala code to machine code using Scala Native as a library of my program?
body: <p>I succeed compiling a scala project to machine code using Scala Native.
  But I want to generate some executable code at runtime (I plan to implement a standalone compiler from a scala-like language to machine code).
  The goal is to have a self-hosted language, independent of JVM.
  Is it possible to somehow embed the Scala Native compiler in my project?</p>