
[Please do not mail me a copy of your followup] boost-users@lists.boost.org spake the secret code <47F1F383.5060802@free.fr> thusly:
I'm trying to write a parser which can write on the input string (mainly insert string at the current position).
You're probably better off representing this as a transformation instead of an edit-in-place.
Does spirit contain any stuff that can help me in that way ?
AFAIK, Spirit doesn't contain any mechanisms for modifying the input -- that's considered beyond the scope of a parser. You could probably create your own out-of-band mechanism for doing it, but it would probably mess up spirit's idea of where it is within the input as you modified the input. -- "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download http://www.xmission.com/~legalize/book/download/index.html Legalize Adulthood! http://blogs.xmission.com/legalize/