Did you know ... | Search Documentation: |
![]() | Getting started |
sweeprolog
Elisp library, load it into Emacs:
(require 'sweeprolog)
All set! sweeprolog
automatically loads
sweep-module
and initializes the embedded SWI-Prolog
runtime. For a full description of the different features of sweep
,
see the sweep
manual.
Important note for Linux users: prior to version 29, Emacs
would load dynamic modules in a way that is not fully compatible with
the way the SWI-Prolog native library, libswipl
, loads its
own native extensions. This may lead to sweep
failing after
loading sweep-module
. To work around this issue, users
running Emacs 28 or earlier on Linux can start Emacs with
libswipl
loaded upfront via LD_PRELOAD
, for
example:
LD_PRELOAD=/usr/local/lib/libswipl.so emacs