Using LXR for Python CVS Source Code ?
Browing the Mozilla web-site I came across I nice utility which enables cross-referenced source code browsing: LXR http://lxr.mozilla.org/mozilla/source/webtools/lxr/ For example, see e.g. http://lxr.mozilla.org/mozilla/source/expat/xmlparse/hashtable.c I suppose setting this up on python.org would ease referencing Python C sources a lot and also provide a nice tool for learning to understand the internal structures of the interpreter. What do you think ? -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/
Browing the Mozilla web-site I came across I nice utility which enables cross-referenced source code browsing: LXR
http://lxr.mozilla.org/mozilla/source/webtools/lxr/
For example, see e.g.
http://lxr.mozilla.org/mozilla/source/expat/xmlparse/hashtable.c
I suppose setting this up on python.org would ease referencing Python C sources a lot and also provide a nice tool for learning to understand the internal structures of the interpreter.
What do you think ?
+1 Do you want access to the python.org website and CVS so you can install this yourself? --Guido van Rossum (home page: http://www.python.org/~guido/)
Guido van Rossum wrote:
Browing the Mozilla web-site I came across I nice utility which enables cross-referenced source code browsing: LXR
http://lxr.mozilla.org/mozilla/source/webtools/lxr/
For example, see e.g.
http://lxr.mozilla.org/mozilla/source/expat/xmlparse/hashtable.c
I suppose setting this up on python.org would ease referencing Python C sources a lot and also provide a nice tool for learning to understand the internal structures of the interpreter.
What do you think ?
+1
Do you want access to the python.org website and CVS so you can install this yourself?
I could do that, but would need some help from the admins since LXR requires Perl 5+ and Glimpse to be installed. I'll also need to modify the Apache config files and will probably have to setup a cron job which updates the indexes once a day. -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/
Not wishing to make a science project out of it, but you might consider the newer lxr, which uses a real database (mysql, IIRC). We've used lxr in-house for a while, it's an absolutely wonderful tool. It is quite hard to setup multiple lxr's on a single machine (at least with the 'old' lxr), be forewarned. Also, lxr doesn't really deal especially well with Python code - but for C/C++ code, it rocks. --david "M.-A. Lemburg" wrote:
Guido van Rossum wrote:
Browing the Mozilla web-site I came across I nice utility which enables cross-referenced source code browsing: LXR
http://lxr.mozilla.org/mozilla/source/webtools/lxr/
For example, see e.g.
http://lxr.mozilla.org/mozilla/source/expat/xmlparse/hashtable.c
I suppose setting this up on python.org would ease referencing Python C sources a lot and also provide a nice tool for learning to understand the internal structures of the interpreter.
What do you think ?
+1
Do you want access to the python.org website and CVS so you can install this yourself?
I could do that, but would need some help from the admins since LXR requires Perl 5+ and Glimpse to be installed. I'll also need to modify the Apache config files and will probably have to setup a cron job which updates the indexes once a day.
-- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev
David Ascher wrote:
Not wishing to make a science project out of it, but you might consider the newer lxr, which uses a real database (mysql, IIRC).
We've used lxr in-house for a while, it's an absolutely wonderful tool. It is quite hard to setup multiple lxr's on a single machine (at least with the 'old' lxr), be forewarned.
Also, lxr doesn't really deal especially well with Python code - but for C/C++ code, it rocks.
Hmm, I was planning to install the Mozilla version of LXR. I'll also look at the latest LXR version 0.9. If it does indeed use MySQL, I'd rather not go down that road -- setting up and maintaining MySQL is not exactly fun... -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.egenix.com/files/python/
mal> Hmm, I was planning to install the Mozilla version of LXR. I'll mal> also look at the latest LXR version 0.9. If it does indeed use mal> MySQL, I'd rather not go down that road -- setting up and mal> maintaining MySQL is not exactly fun... I find MySQL fairly straightforward to work with. (I use it on the Mojam & Musi-Cal sites.) If there's a functional difference between the new version and the old, I'd be willing to help out administering the database. Skip
participants (4)
-
David Ascher
-
Guido van Rossum
-
M.-A. Lemburg
-
Skip Montanaro