Modified walshgen.pl so that the generated code could compile in memory.