A Rebol Parser For Python? (was: what is eiser to learn first?)

Don Tuttle tuttledon at hotmail.com
Wed Mar 22 21:00:34 EST 2000


[Russell E. Owen wrote]

>>If you mostly want to do quick and dirty processing of text files, Perl
>>is hard to beat.

[William Tanksley]
Depends on the type of processing, too.  Rebol has a much simpler and more
powerful parsing engine; a Perl script to search for a sequence is almost
always far more noisy and less logical than the equivalent Rebol script,
and the Rebol script can search for and replace things which Perl simply
can't.

(A note to experienced Pythoneers: Rebol uses an LL parser to handle text
grovelling.  It seems like such a thing should be easy to add to Python,
and far preferable to regexps.  Any comments?  See the "parse" section of
Rebol's documentation for the syntax Rebol uses; it's MUCH more Pythonic
than regular expressions.)

[Me]
Just thought I'd stir the pot ;-)

Don
--
Believe nothing no matter where you read it or who has said it, not even if
I have said it, unless it agrees with your own reason and your own common
sense.
--Buddha





More information about the Python-list mailing list