Install elpa-ediprolog by entering the following commands in the terminal:
sudo apt update sudo apt install elpa-ediprolog
Description:
Emacs Does Interactive Prolog
This package let you interact with SWI-Prolog in all buffers. You can consult Prolog programs and evaluate embedded queries.
Homepage: https://elpa.gnu.org/packages/ediprolog.html
Version: 1.2-1
Section: universe/lisp