On Thu, 22 Mar 2001, Gisle Dankel wrote:

> I'm writing a simple Prolog interpreter where the format of the rules are

Interesting. May I ask how you define the parse rules, by hand or by using
some predefined BNF description? I wouldn't hope for the latter, imagining
that as a relational language, Prolog doesn't have a large syntax.

> In deep search trees, I quickly run out of variables.

If it's just variables, perhaps you could try using strings instead. Store
them in a dictionary with their values. Hmm, maybe you have already
thought of this...

> There are ways to solve it, but it would make the algorithm slower.

Suppose it would. :-(

Marcus

------------------------------------
 If you find that life spits on you
 calm down and pretend it's raining

-- 
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the 
subject, without the quotes.

Reply via email to