NonGNU ELPA - sweeprolog


Embedded SWI-Prolog
sweeprolog-0.25.1.tar, 2023-Sep-22, 750 KiB
Eshel Yaron <~eshel/>
Browse ELPA's repository
CGit or Gitweb

To install this package from Emacs, use package-install or list-packages.

Full description

Sweep is an embedding of SWI-Prolog in Emacs.  It uses the C
interfaces of both SWI-Prolog and Emacs Lisp to let you query
Prolog directly from Elisp.  On top of this tight integration,
Sweep provides an advanced development environment for SWI-Prolog
in Emacs.

For more information, see the Sweep manual at
<>.  To read the manual inside
Emacs, do M-x sweeprolog-info-manual, or evaluate (info "(sweep)Top").

Old versions

sweeprolog-0.25.0.tar.lz2023-Sep-17 116 KiB
sweeprolog-0.24.1.tar.lz2023-Sep-09 115 KiB
sweeprolog-0.23.1.tar.lz2023-Aug-31 144 KiB
sweeprolog-0.22.2.tar.lz2023-Aug-14 128 KiB
sweeprolog-0.21.0.tar.lz2023-Jun-27 125 KiB
sweeprolog-0.20.0.tar.lz2023-Jun-19 123 KiB
sweeprolog-0.19.1.tar.lz2023-Jun-14 121 KiB
sweeprolog-0.10.0.tar.lz2022-Dec-2585.4 KiB
sweeprolog-0.9.6.tar.lz2022-Dec-1783.0 KiB
sweeprolog-0.9.0.tar.lz2022-Nov-2377.2 KiB
sweeprolog-0.8.12.tar.lz2022-Nov-2275.8 KiB
sweeprolog-0.8.0.tar.lz2022-Oct-2265.1 KiB
sweeprolog-0.7.2.tar.lz2022-Oct-2061.9 KiB
sweeprolog-0.7.0.tar.lz2022-Oct-1759.4 KiB
sweeprolog-0.6.3.tar.lz2022-Oct-1658.7 KiB
sweeprolog-0.6.0.tar.lz2022-Oct-1050.1 KiB
sweeprolog-0.5.4.tar.lz2022-Oct-0948.6 KiB
sweeprolog-0.5.0.tar.lz2022-Oct-0636.3 KiB
sweeprolog-0.4.7.tar.lz2022-Oct-0132.2 KiB
sweeprolog-0.4.3.tar.lz2022-Sep-3029.7 KiB


This file contains the release notes for Sweep, an embedding of SWI-Prolog in Emacs.

For further details, please consult the manual:

Version 0.25.1 on 2023-09-22

New command sweeprolog-query-replace-term

This commands lets you replace terms in the current buffer by transforming them interactively. You can use to perform very precise yet highly flexible code transformations. See the new manual section “Term Replace” or type C-h f sweeprolog-query-replace-term for more details.

Faster sweeprolog-term-search

This version includes a reimplementation of the sweeprolog-term-search command that is both simpler and much more performant.

Version 0.25.0 on 2023-09-17

Snappier query highlighting in Sweep top-levels

Sweep now highlights the query you insert in the top-level immediately as you type it. In previous versions, query highlighting relied on a short timer, that could lead to a small delay before Sweep would update the highlighting when you change the query.

Sweep top-levels can now communicate via pty instead of local TCP

Sweep top-level buffers can now communicate with their corresponding top-level threads via a pseudo-terminal (pty) device, instead of a local TCP connection. Local TCP connections remain supported for systems where Emacs cannot use a pty, such as MS Windows. On Unix systems, top-levels now use pty by default.

Compatibility with and support for Prettify Symbols mode

Sweep Prolog mode is now compatible with the Prettify Symbols minor mode. Prettify Symbols mode, and similar features, rely on font-lock-add-keywords to add highlighting patterns. Sweep does not use Font Lock keywords for its highlighting, but now it does invoke the relevant Font Lock keyword highlighting routines for compatibility with minor modes such as Prettify Symbols.

Minor improvements to hole highlighting

Sweep now uses a slightly smaller “box” around holes to highlight them in Prolog code, such that holes are displayed with the same dimensions of any other text. This avoids small visual jitter when inserting or removing holes in a buffer.

Version 0.24.1 on 2023-09-09

Refine checks for extracting goals to separate predicates

Sweep now checks that the selected region is a goal at a callable position, rather than a data term, before suggesting to extract the region to a separate predicate in sweeprolog-insert-term-dwim (M-RET) and in the right-click context menu.

Version 0.24.0 on 2023-09-08

New command sweeprolog-extract-region-to-predicate

This command lets you select a part of the body of a clause and extract it into a separate predicate. The command sweeprolog-insert-term-dwim (M-RET) now invokes sweeprolog-extract-region-to-predicate if the region is active.

Version 0.23.1 on 2023-08-30

Documentation improvements and minor bug fixes

This is a maintenance release, including a rewrite of the Sweep manual in Texinfo format along with some minor bug fixes and improvements.

Version 0.23.0 on 2023-08-18

Sweep now requires Compat, the forward-compatibility library for Elisp

This version introduces a dependency of Sweep on Compat, the forward-compatibility library for Elisp available from GNU ELPA. Compat provides implementations of newer Elisp functions and features for older Emacs versions, and Sweep now makes use of it for improved backward compatibility and ease of maintenance.

Version 0.22.2 on 2023-08-14

Fix potential crash due to a collision between Xwidgets and XPCE

This version fixes an issue that could cause Emacs to crash during certain Sweep operations if Emacs is built with Xwidgets and SWI-Prolog is built with XPCE. … …