Replies: 3 comments 3 replies
-
What I'm doing now BTW is to embed the sections of Prolog code within Then I use perl -ne 'print if /^\\begin{verbatim}/ .. /^\\end{verbatim}/' mypaper.tex > mypaper.pl and then run |
Beta Was this translation helpful? Give feedback.
-
It sounds like you want interactive notebooks. See: Project Jupyter SWI-Prolog has notebooks available in SWISH. Perhaps the same can be done for Scryer Prolog. |
Beta Was this translation helpful? Give feedback.
-
In theory org-mode with emacs allows you to export documents to LaTeX/PDF
that contain embedded code blocks (presumably prolog will work here) and
can contain the results of running various blocks.
Message ID: <mthom/scryer-prolog/repo-discussions/1252/comments/2088295@
… github.com>
|
Beta Was this translation helpful? Give feedback.
-
I am sorely feeling the need for literate programming tools to use with Prolog. Specifically, I would like to be able to:
What are best practices here?
Beta Was this translation helpful? Give feedback.
All reactions