Matt,

Thanks for the suggestion. I believe Sudarshan's pattern type is based on a
C language translation of the Ada Snobol4 pattern classes. So, we already
have a substantially improved/adapted version of what you are suggesting
here, in Unicon's current CVS under an ifdef that is not "on" by default. At
the moment our problem is not primarily one of implementation, but one of
language design. Sudarshan did his very nice project, Steve pointed out that
it was inelegant or unfinished, I balked at making it a standard part of the
language until this was resolved, and here we are. It might possibly be the
case that the Python community does not feel quite as picky about getting
language design right.  We will do our best to actually integrate it into
string scanning, when we figure out how.

Cheers,
Clint

On Sat, Aug 7, 2010 at 1:32 AM, Matt Oates (Home) <[email protected]>wrote:

> Not sure how relevant this is, but I thought it might be of interest.
> I just found that Python has an implementation of SNOBOL 4 pattern
> matching http://snopy.sourceforge.net/ written in Ada and integrated
> via a Python library module.
>
> Might have some ideas and code for kick starting!
>
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to