Avoid complaining from strlen

`
This commit is contained in:
Vítor Santos Costa
2015-09-21 17:05:36 -05:00
parent 880a9989c3
commit 4336b2ba88
469 changed files with 207364 additions and 9193 deletions

14
example.py Normal file
View File

@@ -0,0 +1,14 @@
# python commands
import yap
engine = yap.YAPEngine();
# engine = yap.YAPEngine(yap.YAPParams());
while True:
s = raw_input("Prolog Query: ")
q = engine.query(s)
print "success"
while q.next():
ar = q.namedVars();
print ar