[PySide] PySide is Dead?

Hugo Parente Lima hugo.lima at openbossa.org
Mon Dec 10 18:45:42 CET 2012


On Monday, December 10, 2012 12:42:35 PM John Ehresman wrote:
> On 12/10/12 12:32 PM, Hugo Parente Lima wrote:
> >> My thought on the code generator was to have the C++ parser write
> >> the parse tree out to some xml file that could then be read by a
> >> code generator written in python.  Then the C++ parser could
> >> possibly be replaced with something else and the generator could
> >> be more quickly improved since it's now implemented in python.
> >> Changing it would still require C++ knowledge, though, because
> >> it's emitting C++ code.
> > 
> > There's GCCXML[1], so the python program just read the output of
> > GCC XML plus some other file with meta information equivalent to
> > the current typesystem but less verbose and outputs the binding
> > code, seems easy, but it's a looooonnng task.
> 
> As a first small step, I would modify shiboken to output the parse
> tree from its internal C++ parser.  I would do this mainly to minimize
> the changes to the generator and the goal here is to get the generator
> code converted to python and not to replace the C++ parser.
> 
> Later, alternative parsers could be investigated and perhaps used --
> something based on gcc worries me though because it may not be easy to
> install and use on Windows.

For sure, this practically throw GCCXML out of the table.

A guy used this parser used by Shiboken generator, QtCreator, KDevelop, etc.. 
to output XML and use it in a Lua-Qt binding, I indeed did some experiments 
with this years ago.
 
> Cheers,
> 
> John
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20121210/84f2c331/attachment.sig>


More information about the PySide mailing list