There should be a function that takes a list of forms and compiles them to core as if they were read from a file. The editor has something like this, but it should be institutionalized