1. A computer-implemented method for generating an image configured to program a parallel machine from source code, the method comprising: converting source code into an automaton comprising a plurality of interconnected states; converting the automaton into a netlist comprising instances corresponding to states of the automaton, wherein the instances correspond to hardware elements of the parallel machine, wherein converting the automaton into a netlist includes grouping states together based on a physical design of the parallel machine; and converting the netlist into the image.