Generic lightweight emulator frontend