How would I use Pycoin to play around with non-standard scripts like this? Alternatively, pybitcointools.
Writing a Script "compiler" in python should be very straight forward. PyBitcoinTools will parse out the scripts with deserialize, then you take the Script 'asm' and write a decompiler.
If you then put the 'asm' data back in the dict and serialize with pybitcointools you should be good to go.
I'll give it a shot next week.