Re: [pygccxml-development] low level vs high level API
Brought to you by:
mbaas,
roman_yakovenko
From: Allen B. <al...@vr...> - 2006-03-08 01:14:28
|
Roman Yakovenko wrote: > > >This is exactly what I did: > >1. You needed decls printer, right? You wrote it. This was greate >piece of source. > I put it within declarations and declarations wrappers > >2. You needed some search algorithm with power of customization of >search criteria, right? > I took Matthias ideas and some code and added it to pygccxml.declarations > The first place user will look at, in order to see how can he find >some declaration, am I > wrong? > > I am not so sure about this one. I think the goal of the high-level API should be that the first and generally only place the user looks is the high-level API. That is really the key to having a domain specific language, you want the user to only have to use it to do everything they commonly need to. Now to implement that language/interface we could and will use code from throughout the codebase. At least that is the way I see it. comments? >3. You needed multi-declaration wrapper, right? > It took me few days to find out how can we use Python, in order to >provide best > implementation to the class. > > > This one surprised me a little because I did not know I needed it. :) I think the fact that we didn't understand your goal for the *_wrappers really caused some confusion about what the goal is for everything else. As it stands now even I am not sure if we really need the multi-decl wrapper in the pyplusplus code. Instead we may just need something like it in the high-level API which is where the code will be for querying the declarations anyway. -Allen >I think that I am not able to design high level API. So please, please >go ahead and do it. > > > > >>-Allen >> >> > >-- >Roman Yakovenko >C++ Python language binding >http://www.language-binding.net/ > > >------------------------------------------------------- >This SF.Net email is sponsored by xPML, a groundbreaking scripting language >that extends applications into web and mobile media. Attend the live webcast >and join the prime developer group breaking into this new coding territory! >http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642 >_______________________________________________ >pygccxml-development mailing list >pyg...@li... >https://lists.sourceforge.net/lists/listinfo/pygccxml-development > > > |