title: invoke fsi on memory (not file)
body: <p>Let's say we have a fsi script like this:</p>
  
  <pre><code>#r "System.Core.dll"
  let script = "Console.WriteLine(\"Hello, World!\")"
  // fsi script ???
  </code></pre>
  
  <p>We can use #load to invoke fsi on a file, but is it possible to somehow invoke fsi on an in-memory string without writing that to a file first?</p>
  
  <p>The use-case is an API compatibility tester: given a dll, I would like to create a script that invocations all its public APIs and compile that script against a different version of the same dll.</p>
  
  <p>I could always write the generated script to disk, but it would be much cleaner if I could run it directly.</p>