On Jun 14, 2006, at 9:13 PM, pt wrote:

The Python code is basically nonexistent,

Correct. I left it there as a place-holder more-or-less.

but how far off being useful is the Ruby? Can you give some commentary on what the bits and pieces that are there do and do not do?

It's been awhile since I've worked on it. Will see if I can take a look again tomorrow. In the meantime, the code should be fairly readable for a Pythonista. It's all object-based, so if you look at the classes -- as well as the unit tests -- you should get an idea how it works.

Basically, upon creating a CitationStyle object, it will read the CSL file. I think I started to get that working, but didn't finish it (too busy with other things).

Likewise, there's a ReferenceList class, which holds a series of Reference objects. IIRC, it also contains formatting methods that then look up how to format a given reference from the CitationStyle object.

I'm wondering whether to bite the bullet and start coding in Python - but I really have no idea yet of the scope.

Take a look at the Ruby code and see what you can make of it. I suspect it is maybe 50-60 % done (?).

Bruce

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to