Re: [Spirit-general] [Boost.Asio] suggested to not be useful for a dedicated networking synchronous implementation where the Operating System is just a gateway

2023-10-01 Thread Seth via Spirit-general
On Sun, Oct 1, 2023, at 5:44 PM, Raymond Burkholder wrote: > But I'll answer here anyway. The stakeholder is probably missing some > important capabilities of ASIO. it can act in sync/async modes. In can act > as a gateway. ASIO can reuse buffers. ASIO can work to reduce the number of >

Re: [Spirit-general] how to do a dynamic parser in X3?

2023-09-02 Thread Seth via Spirit-general
On Wed, Aug 30, 2023, at 5:48 AM, Richard wrote: > Hi, > > So the symbols parser is an example of a dynamic parser in X3. I am trying to > write a parser for a GIF image file. A GIF file is a series of chunks. > Chunks > are prefixed with a length indicating the number of bytes in the chunk.

Re: [Spirit-general] copy constructor of symbols does not do a deep copy?

2023-04-06 Thread Seth via Spirit-general
It's by design, likely to make it efficient and easy (without surprises!) to use symbols in parser expressions. In effect, they get "reference semantics" just like `qi::rule<>` does when embedded in other rules. You can easily deep-clone a symbol table if you need: template Sym