> The perfect solution would be to shun away the standard model and
> actually support a kind of on-demand recompilation where the editor
> tells the compiler (running in background) what has changed and the
> compiler (having a function inlining map) recompiles only the
> necessary pieces and replaces them in the elf files. Though that's
> probably too far-fetched (there's also the question of how much of
> gimple/generic could be kept between recompilations).
> Simplifying we skip the "working in background" and the last step,
> and just generate separate .s files, I've almost hacked this but I
> had a lot of trouble with missing or duplicate variables/labels etc.