From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas Heller" To: "Kirby, Dave" , , "Syd Polk" Subject: Re: Some Python (and other) questions Date: Mon, 02 Oct 2000 12:22:00 -0000 Message-id: <004d01c02c9d$90ad0680$4500a8c0@thomas> References: <4.2.0.58.20001002104207.00d796e0@pop.cygnus.com> X-SW-Source: 2000-q4/msg00004.html > >I have recently upgraded to 4.5.2 for its Python support, and have some > >questions. > > > >Firstly, the python support seems to be only partial - nothing shows up in > >the class view and the Xref and Include tabs are greyed out. However the > >information for the classes, methods etc are in the database since they can > >be seen in the Retriever view, so what gives? Is this a bug in the python > >parser? > > You need to ask the original author. Ok, so here we go: The python parser is modeled after pyclrbr.py, with the improvement that it also finds global variables (apart from classes, methods and functions). No xref info at all (simply because I have no idea how to do this). No import statements are parsed, so no include info is generated. > > >Secondly, has anyone tried creating python wrappers for the SN APIs? This > >would make it easy to write scripts for analysing the information in the DB > >(as suggested by a previous poster) and for creating parsers written in > >python. I may have a go myself when I have time, but dont dont want to > >duplicate the work if someone else has already done it. It should be easy > >using SWIG, and this would also enable the APIs to be called from TCL, Perl, > >Guile etc. Thoma