
Some parts of this message have been removed.
Learn more about Nabble's
security policy.
On Thu, Jul 9, 2009 at 6:18 AM, Commander Pirx
<CmdPirx@...> wrote:
<<quote snipped>>
If Spirit could store
it's internal state, it would be great. The biggest
would be, to accept
boost::asio::tcp::iostream as parser input.
Cmd. Pirx
Actually, you can accept boost::asio::tcp::iostream as parser input by
constructing an istream_iterator from it and then wrapping that
istream_iterator in a multi_pass.
--Lucas
Is this also true for spirit 1.8?
Currently I work with the classic version because
spirit2.x seems to be a work in progress. What I really need is a parser that
could be feed byte by byte. This is the pseudo code:
while (receiving)
{
char c =
receive_byte();
parser.consume( c
);
}
Thanks for the hint.
-- Pirx
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at:
http://p.sf.net/sfu/Challenge_______________________________________________
Spirit-general mailing list
Spirit-general@...
https://lists.sourceforge.net/lists/listinfo/spirit-general