Re: SVN

Lorenzo Pastrana <[email protected]> Fri, 12 Jan 2007 07:56:02 +0100
Newsgroups gmane.comp.documentation.synopsis
Organization Kinopsis
Message-ID <[email protected]>

Stefan Seefeld wrote:
> Lorenzo Pastrana wrote:
> 
>>Well :D That's good news !
>>It worked like a charm ...
>>Thanks everybody for prompt response..
> 
> 
> That's good to hear !
> 
> Just to be clear, though: the trunk contains the in-development code (such as a rewritten
> C++ parser). The recent 0.9 release is based on the 'Synopsis_0_8' branch. (I should consider
> renaming that branch, if people find the current name confusing.)

Well if 0_8 branch effecively contains 0_9 sure that's, not obvious at 
least :D
Might checkout that one, since I'm in evaluation phase ...

Meanwhile I'd like to validate some simple concepts about Synopsis  and 
it's usage...

My main concern is generating code based on the AST, input material will 
mostly be C++ and Idl declarations, generated code a C++ binding layer 
for the engine I'm working on.
Witch I believe I can do by feeding appropriate parser with the headers, 
walking down the AST, matching nodes, and generating the glue accordingly.

My questions :

Is the AST accesible from C++ as it is from python or it is a 
specificity of the python level ?

Do I have to use python to write a custom formatter or can I do it in C++ ?

http://synopsis.fresco.org/docs/Tutorial/ch05.html is rather laconic, is 
there a more verbose place I can find Infos about writing a custom
formatter for the job ?

http://synopsis.fresco.org/docs/Manual/python/Source/Synopsis/Formatters/Dump.py.html
Seems to be a good place for a start but what about C++

Questions about python/C++ are because I'd like to use Synopsis in an 
import module for my tool and would like to avoid depending on python...

Thanks for infos ..

Lo.