Awesome. That's exactly what I need. Cheers, graham

On May 28, 2011 6:22 PM, "Hartmut Kaiser" <hartmut.kaiser@gmail.com> wrote:
>> Hi, I need to parse and generate code for forbade 2.3 idl. Is wave the way
>> to go? Is there a demo our there that shows idl parsing? If yes could you
>> direct me to it pls?
>> Or maybe wave is not the way to go. I'm doing nothing tricky in code
>> generation, logging and operator<< code.
>
> Wave is a preprocessor library (well in fact, it's a preprocessing lexer),
> which can be used to preprocess and tokenize IDL input as well. It's by no
> means a parser, but you can use it to build your own parser as it exposes a
> pair of iterators, which when dereferenced gives you the tokenized input.
> Wave itself has an example demonstrating the use of the library for IDL
> preprocessing ($BOOST_ROOT/libs/wave/samples/waveidl).
>
> Regards Hartmut
> ---------------
> http://boost-spirit.com
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users@lists.boost.org
> http://lists.boost.org/mailman/listinfo.cgi/boost-users