washort/parsley — pull request #30 by introom (2013-07-15 05:02:41+00:00)
Title: Add tube.tramplinedParser.

The current implementation of ParserProtocol is great, however, in some scenarios, the Protocol/receiver/sender model of ParserProtocol may seem somewhat redundant and may cause potential problem.

To address the problem, I added the tube.tramplinedparser, which should be composed as an instance attribute for a protocol like LineOnlyReceiver or IntNStringReceiver.https://github.com/twisted/parsley-protocols/blob/basic/parseproto/basic/protocol.py#L115