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.
How would this work ? (Score:1)
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)
Re:How would this work ? (Score:2, Insightful)
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.
(darren)
Re:How would this work ? (Score:1)
------------------------------
You are what you think.
Reply to This
Parent