I wrote a function that implements 'match' in Python. It is not implemented the same way, since Python doesn't have gotos :), but it is quite fast, especially the Cython version. Take a look and see if you can find bugs :)
http://www.artfulcode.net/projects/matching/
Python folks...
Re: Python folks...
Python doesn't have gotos??? Python does have everything!!! Well, at least as a Fool Day's joke (but it works nevertheless). ;-)Jeff wrote:since Python doesn't have gotos :)
With newLISP you can grow your lists from the right side!