Another library (SRFI?) for pattern matching Sergei Egorov (06 Dec 2024 04:15 UTC)
Re: Another library (SRFI?) for pattern matching Daphne Preston-Kendal (07 Dec 2024 14:36 UTC)
Re: Another library (SRFI?) for pattern matching Sergei Egorov (07 Dec 2024 21:59 UTC)

Another library (SRFI?) for pattern matching Sergei Egorov 06 Dec 2024 04:14 UTC

Dear Schemers,

I have an idea for a new design for a pattern matching library. This library provides all common-denominator functionality described
in SRFI-200, adding on top of it support for non-linear patterns and backtracking. Also, the proposed design is simple, modular, and
allows for convenient extension via the define-match-pattern mechanism. Other pattern matchers can be implemented on top of the
proposed abstractions, some in just a dozen lines of syntax-rules source code.

http://malgil.com/esl/srfi/srfi-xm11.html

I have used it in a few projects of my own, mainly to re-implement two existing matchers, with this one used as a common platform
for both re-implementations. I would appreciate your feedback and comments -- perhaps someone else is working on a similar project?
Is this something you would like to see formally submitted as a SRFI?

Best regards,
--Sergei