Re: [C++-sig] pyste, gccxml and boost ublas, random number generator etc
Roman Yakovenko <[email protected]>
| Newsgroups | gmane.comp.documentation.synopsis |
|---|---|
| Message-ID | <[email protected]> |
On 8/3/05, Stefan Seefeld <[email protected]> wrote: > The correct address is http://synopsis.fresco.org/contact.html. Still can't subscribe. Nothing happens when I push subscribe button. > As far as the scope is concerned, that sounds indeed a lot like synopsis. Synopsis home page title - Synopsis: A Source-code Introspection Tool. I don't want to build source-code introspection tool. What I want is convenient description of C++ declarations. > Have you looked at the synopsis AST (http://synopsis.fresco.org/docs/Tutorial/ast.html) ? > Is this not exactly what you are describing, i.e. a list of all declarations ? Yes I did see this page, but its title confusing me. I only want declarations. I understand that this is all what you have right now. Obviously this is what I should use. My only concern is what will happen if you add defines or expression to the AST? > As far as code generation is concerned, I don't think this is quite enough, though. My experience say opposite. Web services, cross language bindings - use only declarations to generate code. > It might be enough for language bindings, where you create entirely new code. > And even there users may plug in specific generators for particular types, requiring > some type analysis. > But there are other cases where you want to modify existing code. There you do > need the parse tree or you won't be able to reproduce the original code at all. Could you give an example for code modification problem, except code beautifiers? Stefan could you write/point me to small example that includes 1. creating AST tree from source file 2. traveling on this AST tree. > Regards, > Stefan > Thanks Roman Yakovenko