spark wiring HAL (wip) compiling