a fork of http://openpear.org/package/Stream_Macro