Re: Qi Seems Great



On Apr 30, 10:59 pm, Scott Burson <FSet....@xxxxxxxxx> wrote:
On Apr 30, 1:13 pm, Marco Antoniotti <marc...@xxxxxxxxx> wrote:

On Apr 30, 8:21 pm, Scott Burson <FSet....@xxxxxxxxx> wrote:

On Apr 30, 10:15 am, Tamas K Papp <tkp...@xxxxxxxxx> wrote:

And you can also use pattern matching libraries already available in
CL -- there is no need to change languages for that.

Yes, I have a copy of Faré-matcher, but haven't gotten around to
actually trying it.  The kind of code I've been writing lately
wouldn't have much use for it.  I'm sure that will change at some
point.

That's because you should try CL-UNIFICATION (shameless plug)
instead.  Bigger is better. :)

Okay, I'll take a look at some point.  Does it do iterative
(nondeterministic) matching?

You should explain. Either you do unification-style, i.e. structural
matching, or you do language matching using automata etc. CL-
UNIFICATION is a full blown CL structural matcher that sticks to CL
look'n'feel. It is not a language-based matcher. You can do

CL-USER 2 > (unify:unify #T(vector 42 &rest ?x) #(?qd 2 3 4))
#<UNIFY ENVIRONMENT: 1 frame 21BAD7AF>

CL-USER 3 > (unify:v? '?x *)
#(2 3 4)
T

CL-USER 4 > (unify:v? '?qd **)
42
T

It also works on structures and instances. You can also do

(unify:unify #T(unify:regex "a(b*)") "abbbbbb")

but this is a trick made possible by Edi Weitz.

As per your request, you should define what you want. I still bet
that CL-UNIFICATION is good foundation upon which to build it.

Cheers
--
Marco

.



Relevant Pages

  • Re: custom message rules in OE
    ... matching is Not case sensitive. ... >ADD button, then enter the second term, click the ADD ... All Blocked Senders are ... >> all the languages (names of languages are generally in ...
    (microsoft.public.internet.mail)
  • Re: Design Patterns and Functional programming
    ... Impure functional programming languages like Mathematica, Lisp, Scheme, ... a pattern match gives yes/no ... What is the subject of matching. ... body of another function, here a constructor. ...
    (comp.object)
  • Re: Language enhancements
    ... > inside the loop, but the precise point of new language featyres such ... actually mean your "for each matching x: ... > thread on how there's no true innovation in languages, ... Interfaces would be weaker yes, ...
    (borland.public.delphi.non-technical)
  • Re: Multi Language support
    ... You'd have to do this yourself if you want to change languages ... the OS *does not* support dynamically changing writing systems. ... Although you can certainly use string tables (YOU HAVE USED THEM. ...
    (microsoft.public.windowsce.embedded)
  • Re: Windows Update not showing MUI packs on Vista Ultimate
    ... My understanding is that in Vista you can change languages in the Business ... and Ultimate versions. ...
    (microsoft.public.windowsupdate)