Org-babel functions for prolog evaluation
This project contains a set of functions that are need to evaluate prolog in org-babel.
- Download ob-prolog and put it in a directory somewhere.
- Add the following to your .emacs file
- (or use melpa)
(add-to-list 'load-path "/path/to/ob-prolog-dir")
You also need to add the next snippet or add
(prolog . t) to
languages org-babel can load:
(org-babel-do-load-languages 'org-babel-load-languages '((prolog . t)))
You can then execute the query by pressing
C-c C-c on the