[C++-sig] Re: Pyste bug - static member functions...

David Abrahams dave at boost-consulting.com
Wed Jun 18 02:14:39 CEST 2003

Nicodemus <nicodemus at globalite.com.br> writes:

> Roman Sulzhyk wrote:
>>Talking about todo lists, another useful thing would be to be able to
>>add a command line option to take XML file already pre-generated -
>>that'll simplify pyste script development some, because with G++ 3.x
>>series it takes considerable amounts of time to generate XML from C++
>>and hence making iterative changes is complex.
> That is a good idea. But passing individual filenames in the command
> line does not seem pratical, because you have to specify a xml file
> *per header file* that will be parsed. Perhaps a flag like "--xml-dir"
> where you indicate where the xml files will be? That way, before Pyste
> calls gccxml in the file "test.h", it checks if "test.xml" is present
> in the xml-dir, and use that if present, or parses it otherwise. What
> do you think?

What about reading the XML and producing a pickled representation,
then re-reading from the XML whenever it's outdated?  Then we could
easily integrate it with a build system.

Dave Abrahams
Boost Consulting

More information about the Cplusplus-sig mailing list