From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mo DeJong To: sourcenav@sources.redhat.com Subject: Re: source code programming language Date: Mon, 04 Jun 2001 11:56:00 -0000 Message-id: References: <3B1BB063.B6E9ACF2@nrc.ca> X-SW-Source: 2001-q2/msg00193.html On Mon, 4 Jun 2001, Marta Stojanovic wrote: > Hi all! > > Does somebody know if there is a way for a tcl script running on hyper > to know of programming language of a source code parsed by SN ? I'd like > to know if project database files (created by SN) contain information on > the language used. I'm interested in Java and C++, but it should work > for others also. Well, yes the language is stored in the db entry for a file. You will have to figure out how to get that data out of a row on your own. Have a look at how the code does it now. Also note that a good DB interface is something we have wanted to do for some time but we have not had time for. Mo