NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Lectionary (Score:2)
Given your interest in the church calendar, etc., I thought you might be interested to know that Larry Wall's wife Gloria has a Bible reading schedule [wall.org] based on the Revised Common Lectionary. Now, my church doesn't use a lectionary, so I've never personally used this schedule, and this lectionary is from a consortium of Protestant churches, so you might not be interested, but I thought I'd mention it.
I wonder if religious geeks like to do Bible reading schedules. :)
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
Re:Lectionary (Score:1)
Next, I'll give it iterators, so I can iterate over "jn8:32-35,37-40,42" and then I'll hook it up to a bible.
Sword is (as I understand it) not capable of providing a Catholic bible.
rjbs
Re:Lectionary (Score:2)
Next, I'll give it iterators, so I can iterate over "jn8:32-35,37-40,42" and then I'll hook it up to a bible.
Will each use of the iterator provide a verse? How about iterating over John 3-7? Would it provide 5 chapters in 5 calls, or every verse of those 5 chapters?
Just asking the tough design decisions to force you to answer them up front before coding. :)
Sword is (as I understand it) not capable of providing a Catholic bible.
I did not know that, and had assumed they had that handled. Lookin
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
Re:Lectionary (Score:1)
At the moment, "John 3-7" doesn't work, but "John 3;4;5;6;7" does and will iterate over every verse. The edge case that I'm avoiding is "John 3:2-7" which should go from 3:2 to 3:7, but one could argue that it's the same as 3:2-7:end. I think that a rule that says "if neither beginning nor end is versed, then it's tw
rjbs
Re:Lectionary (Score:2)
The edge case that I'm avoiding is "John 3:2-7" which should go from 3:2 to 3:7, but one could argue that it's the same as 3:2-7:end.
I would argue for the first interpretation. While I've occasionally seen attempts to notate with the second interpretation, it's confusing to human beings, let alone parsers, and comes off as a "mistake." If a person wants the second interpretation, it's easy enough to look up the last verse and notate the full thing, or even just 3:2-7:999. :)
J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
Reply to This
Parent