python swig work

This commit is contained in:
Vitor Santos Costa
2016-09-21 14:55:09 -05:00
parent c58064bd0b
commit b2156aad2d
6 changed files with 25 additions and 5 deletions

View File

@@ -23,7 +23,7 @@ def eprint(*args, **kwargs):
class YAPKernel(IPythonKernel):
implementation = 'MetaKernel YAP'
implementation = 'YAP Kernel'
implementation_version = '1.0'
language = 'text'
language_version = '0.1'
@@ -88,7 +88,8 @@ class YAPKernel(IPythonKernel):
else:
i = bind.numberVars(i, True)
print(name.text() + " = " + bind.text())
print("yes")
else:
print("yes")
if self.q.deterministic():
self.closeq()
return