diff --git a/packages/python/swig/yap4py/systuples.py b/packages/python/swig/yap4py/systuples.py new file mode 100644 index 000000000..4db75a74b --- /dev/null +++ b/packages/python/swig/yap4py/systuples.py @@ -0,0 +1,41 @@ +from collections import namedtuple + +asserta = namedtuple('asserta', 'clause') +assertz = namedtuple('assertz', 'clause') +bindvars = namedtuple('bindvars', 'list') +compile = namedtuple('compile', 'file') +compdletionsile = namedtuple('completions', 'text self') +dbms = namedtuple('dbms', 'filedbms') +errors = namedtuple('errors', 'fileng engee') +foreign = namedtuple('foreign', 'filedbms') +jupyter_query = namedtuple('jupyter_query', 'engine program query') +library = namedtuple('library', 'listfiles') +load_files = namedtuple('load_file', 'file opts') +ostreams = namedtuple('ostreams', ' text') +prolog_library=namedtuple('prolog_library', 'listfiles') +python_query = namedtuple('python_query', 'engine query') +set_prolog_flag = namedtuple('set_prolog_flag', 'flag new_value') +show_answer = namedtuple('show_answer', 'vars dict') +streams = namedtuple('streams', 'text') +v = namedtuple('_', 'slot') +v0 = namedtuple('v', 'slot') +yap_query = namedtuple('yap_query', 'query owner') +yapi_query = namedtuple('yapi_query', 'vars dict') + + + + + + + + + + + + + + + + + +