Is it possible to somehow load code into the compiler from say a string and have it compile? This is something interesting to my current project, but currently the patches (as far as i know) can only be loaded via a file. Although i do see a VirtualFile class maybe this is something i should be looking at?
Absolutely - that’s what the VirtualFile stuff does for patches. And when we publish the lower-level APIs, that’ll let you just pass strings directly into the compile classes.