Stories
Slash Boxes
Comments
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

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • 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
    • I will check Gloria Wall's schedule out, but of course the RCC has its own reading schedule. I've been poking at Religion::Bible::Reference in part to make it better at understanding the references likely to come from the church's cycle.

      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
      • 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. Looking at the site [crosswire.org] apparently there's been some talk about this, but no evident progress. I'm surprised.

        --
        J. David works really hard, has a passion for writing good software, and knows many of the world's best Perl programmers
        • Each iteration will be a verse. "John 3-7" is a big Problem Case for me. I've seriously changed how the parser works and what it recognizes a few times, and I think I still will before 0.01

          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
          • 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