Generate and invoke a per-interpreter setup routine

...much more to go.