Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.compilers    |    Compiler construction, theory, etc. (Mod    |    2,753 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 1,103 of 2,753    |
|    James Sison to All    |
|    Prolog and evaluating expressions    |
|    04 Oct 07 17:47:49    |
      From: the_evil_trembles@yahoo.com              I'm trying to write this prolog interpreter but i encountered a       problem. Let's say i'm evaluating a rule and i found a possible       solution. How will i store my current position in the parse tree of       the rule if i'm going back to it when i backtrack? I'm thinking of       using a stack but then, i have no idea how to use it for this       application. Do you guys have any opinions on the matter?              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca