[[https://git.sr.ht/~eshel/sweep][sweep]] is an Emacs module which uses the C interfaces of both
SWI-Prolog and Emacs to bring the two together into one address space.
-#+begin_src prolog
- ?- sourcehut_git_repository("eshel", "sourcehut.pl", Repo, []),
- get_dict(id, Repo, RepoId),
- sourcehut_git_upload_artifact(RepoId, "v0.1.2", "/tmp/foo/baz.txt", Artifact, []).
-#+end_src
+For more details, see [[file:sweep.org][the =sweep= manual]].
** Sourcehut GraphQL client for SWI-Prolog
:PROPERTIES:
padding-bottom: 0.3em;
}
-a, p, h1, h2, h3, h4, h5, h6 {
+li, a, p, h1, h2, h3, h4, h5, h6 {
font-family: monospace;
}