Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Prolog dialect in Rebol

From: gerryxiao:netease at: 28-Oct-2000 19:50

Hi rebols, Just a thought,Can't Prolog be embeded in rebol? just like this: log-block? [gerry,carl,bo,jane,chaz] => true log-block? [write(hello),nl,fail.] =>true logic-database: [ rebol(X) :- prolog(X). prolog(facts). prolog(predicates). prolog(clauses). prolog(unifications). prolog(any). ] do-logic ;[cr] :- consult(logic-database). =>yes :rebol(X),write(X),nl,fail. => facts predicates clauses unifications any no any comments? or just ignore all above. --gerry