Ideas from https://github.com/raganwald-deprecated/homoiconic
Modification of ~pipe to support Kestrel & Thrush.