Slash Boxes
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.
More | Login | Reply
Loading... please wait.
  • There are equivalent command structures in both languages, but would just translating code segments cut it, really ? Some of the most useful things I learnt from the book are specific to Perl.. (fiddling with the record separator variable, for example)

    Then again, (this is because I dont know any better :) ), does Python have an equivalent to Parse::RecDescent ? (there is one chapter worth of material on that module alone)

    • does Python have an equivalent to Parse::RecDescent ?

      Not as such. There are several parser building libraries available, but none of them have the breadth and scope of Parse::RecDescent.

      This is, I think, because the Python community doesn't have a specifically-retained Mad Scientist. The language can definitely natively support a Parse::RecDescent-type module (as opposed to C, like Nicholas points out), though.