title: How to programmatically compile Rust programs?
body: <p>Given metadata about the library I am trying to create in the form of an expression tree, I would like to be able to convert this into some sort of Rust-specific syntax tree that can be given to the Rust compiler.</p>
  
  <p>I found a <a href="https://stackoverflow.com/questions/14459647/is-it-possible-to-generate-and-execute-rust-code-at-runtime">related question</a> but it is outdated. </p>