|
Boost Users : |
Subject: Re: [Boost-users] Wave - idl parsing
From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2011-05-28 12:22:00
> 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 list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net