Package spade :: Module pyxf
[hide private]
[frames] | no frames]

Module pyxf

source code

Python interface to XSB Prolog, SWI Prolog, ECLiPSe Prolog and Flora2 by Markus Schatten <markus_dot_schatten_at_foi_dot_hr> Faculty of Organization and Informatics, Varazdin, Croatia, 2011

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA


Version: 1.0.1

Classes [hide private]
  XSBExecutableNotFound
Exception raised if XSB executable is not found on the specified path.
  XSBCompileError
Exception raised if loaded module has compile errors.
  XSBQueryError
Exception raised if query raises an error.
  xsb
Python interface to XSB Prolog (http://xsb.sf.net)
  SWIExecutableNotFound
Exception raised if SWI-Prolog executable is not found on the specified path.
  SWICompileError
Exception raised if loaded module has compile errors.
  SWIQueryError
Exception raised if query raises an error.
  swipl
Python interface to SWI Prolog (http://www.swi-prolog.org)
  ECLiPSeExecutableNotFound
Exception raised if ECLiPSe-Prolog executable is not found on the specified path.
  ECLiPSeCompileError
Exception raised if loaded module has compile errors.
  ECLiPSeQueryError
Exception raised if query raises an error.
  eclipse
Python interface to ECLiPSe Prolog (http://eclipseclp.org)
  Flora2ExecutableNotFound
Exception raised if Flora2 executable is not found on the specified path.
  Flora2CompileError
Exception raised if loaded module has compile errors.
  Flora2QueryError
Exception raised if query raises an error.
  flora2
Python interface to Flora2 (http://flora.sf.net)
Variables [hide private]
  __doc__ = ''' Python interface to XSB Prolog, SWI Prolog, ECLi...
  xsbprompt = '[|][ ][?][-][ ]'
  xsberror = '[+][+]Error.*'
  var_re = re.compile(r'[^a-zA-Z0-9_]([A-Z][a-zA-Z0-9_]*)')
  res_re = re.compile(r'res\(\'([A-Z][a-zA-Z0-9_]*)\', ?(.*)\)')
  swiprompt = '[?][-][ ]'
  swierror = 'ERROR.*'
  eclipseprompt = '[\\[]eclipse [0-9]+[\\]][:] '
  eclipseerror = 'Abort.*'
  flora2prompt = 'flora2 [?][-][ ]'
  flora2error = '[+][+]Error.*'
  fvar_re = re.compile(r'\?[a-zA-Z0-9][a-zA-Z0-9_]*')
  fres_re = re.compile(r'\?([a-zA-Z0-9_]*) = ([^\r]+)')
  __package__ = 'spade'
Variables Details [hide private]

__doc__

Value:
''' Python interface to XSB Prolog, SWI Prolog, ECLiPSe Prolog and Flo\
ra2
 by Markus Schatten <markus_dot_schatten_at_foi_dot_hr>
 Faculty of Organization and Informatics,
 Varazdin, Croatia, 2011

 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
...