Mailing List Archive



Back to the month index Back to the list index

rasmus@bellglobal.com
Tue, 15 Apr 1997 13:40:29 -0400 (EDT)


From: rasmus@bellglobal.com
Date: Tue, 15 Apr 1997 13:40:29 -0400 (EDT)
Subject: Re: [mSQL] Boolean Searches with w3-msql??
Message-Id: <ML-2.3.861126029.8606.rasmus@inet-dev>

> There y'ar. A quick and pretty funky, untested state-based parser for
> basic unnested input logic (no paren's, left to eight precedence). A more
> appropriate way in classic programming is a recursive function call, but
> that's a little much for PHP.

PHP does actually support recurstion in the user-defined functions. It
also has static variables within functions to actually make the
recursion useful.

I agree though, something which needs lots of recursion is beyond the scope
of what languages like Lite and PHP were designed to do.

-Rasmus
--------------------------------------------------------------------------
To remove yourself from the Mini SQL mailing list send a message containing
"unsubscribe" to "unsubscribe" to msql-list-request@bunyip.com. Send a message containing
"info msql-list" to majordomo@bunyip.com for info on monthly archives of
the list. For more help, mail owner-msql-list@bunyip.com NOT the msql-list!