|
From: | Paolo Bonzini |
Subject: | Re: new module pipe-filter |
Date: | Wed, 22 Jul 2009 18:22:11 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2 |
On 07/22/2009 12:27 AM, Paolo Bonzini wrote:
Your proposal is more general, but still assumes that - the control structure of the reader is simple.This is what Bison requires. Actually Bison's reader is complex, but the output is fed to a Flex scanner, which takes care of the complexity.
Here is some code with an example, the Win32 part I'll do in the next few days. If I had to choose one of the three cases you mentioned, I'd include this one in gnulib. It shouldn't be too bad to adapt msgfilter to this API; for Bison it is overkill.
Paolo
pipe-filter.h
Description: Text Data
pipe-filter-now32.c
Description: Text Data
pipe-filter
Description: Text document
fff.c
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |