vpelletier/ply — Issue #1: Implement a "push" API
Author: vpelletier
Created: 2012-01-14 10:31:05+00:00
State: open

ply.yacc eats tokens produced by lexxer by calling the "token()" method on it. This makes it impossible to use an incomplete source (ex: live capture) and produce output at the same time. This would be a very nice feature, which can currently only be accomplished by using a separate thread for yacc and the source, and having (at least) one queue between both.

The same applies probably to ply.lex as well, but I didn't check.