To install this package from Emacs, use package-install
or list-packages
.
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 <https://eshelyaron.com/sweep.html>. To read the manual inside Emacs, do M-x sweeprolog-info-manual, or evaluate (info "(sweep)Top").
sweeprolog-0.25.0.tar.lz | 2023-Sep-17 | 116 KiB |
sweeprolog-0.24.1.tar.lz | 2023-Sep-09 | 115 KiB |
sweeprolog-0.23.1.tar.lz | 2023-Aug-31 | 144 KiB |
sweeprolog-0.22.2.tar.lz | 2023-Aug-14 | 128 KiB |
sweeprolog-0.21.0.tar.lz | 2023-Jun-27 | 125 KiB |
sweeprolog-0.20.0.tar.lz | 2023-Jun-19 | 123 KiB |
sweeprolog-0.19.1.tar.lz | 2023-Jun-14 | 121 KiB |
sweeprolog-0.10.0.tar.lz | 2022-Dec-25 | 85.4 KiB |
sweeprolog-0.9.6.tar.lz | 2022-Dec-17 | 83.0 KiB |
sweeprolog-0.9.0.tar.lz | 2022-Nov-23 | 77.2 KiB |
sweeprolog-0.8.12.tar.lz | 2022-Nov-22 | 75.8 KiB |
sweeprolog-0.8.0.tar.lz | 2022-Oct-22 | 65.1 KiB |
sweeprolog-0.7.2.tar.lz | 2022-Oct-20 | 61.9 KiB |
sweeprolog-0.7.0.tar.lz | 2022-Oct-17 | 59.4 KiB |
sweeprolog-0.6.3.tar.lz | 2022-Oct-16 | 58.7 KiB |
sweeprolog-0.6.0.tar.lz | 2022-Oct-10 | 50.1 KiB |
sweeprolog-0.5.4.tar.lz | 2022-Oct-09 | 48.6 KiB |
sweeprolog-0.5.0.tar.lz | 2022-Oct-06 | 36.3 KiB |
sweeprolog-0.4.7.tar.lz | 2022-Oct-01 | 32.2 KiB |
sweeprolog-0.4.3.tar.lz | 2022-Sep-30 | 29.7 KiB |
This file contains the release notes for Sweep, an embedding of SWI-Prolog in Emacs.
For further details, please consult the manual: https://eshelyaron.com/sweep.html.
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.
sweeprolog-term-search
This version includes a reimplementation of the
sweeprolog-term-search
command that is both simpler and much more
performant.
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-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.
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.
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.
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.
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.
This is a maintenance release, including a rewrite of the Sweep manual in Texinfo format along with some minor bug fixes and improvements.
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.
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. … …