I would like to support something like a C ++ #includemechanism in the boost parser. Essentially, I have a script command that asks my parser to load a script from a file. I would like to be able to report error messages as described in tracking input position during parsing , but they do not allow parsing of multiple inputs.
Can this be done with boost::spirit::qi?
I worked on getting different inputs using a smarter type of iterator. I would still like to see the exact positioning.
source
share