1. A method of generating executable code for a target platform in a neural network, comprising: receiving a spiking neural network description; receiving platform-specific instructions for a plurality of target platforms; and generating executable code for at least one target platform of the plurality of target platforms based at least in part on the platform-specific instructions and the network description.