incremental output please

Reported by Robert Collins on 2009-09-24
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
PyMeta
Undecided
Unassigned

Bug Description

It would be great to be able to get terminals a grammar is sure about out in a stream fashion.

e.g.
parser = PyMeta..()
parser.completed_callback = lambda x:sys.stdout.write(x + '\n')
parser.parse(stuff)

When used this should be aggressive - once something is determined it should be output - this will permit its use as (e.g.) a parser for protocols.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers