~eshel/diagnostics.pl

Simple source code diagnostics for SWI-Prolog.
3f501527 — Eshel Yaron 2 years ago
Use `prolog:xref_*` hooks for diagnosing code coming from stdin
9f010e51 — Eshel Yaron 2 years ago
Bump patch version to 0.1.6
1f86d96b — Eshel Yaron 2 years ago
Add option for diagnosing source code coming from stdin

clone

read-only
https://git.sr.ht/~eshel/diagnostics.pl
read/write
git@git.sr.ht:~eshel/diagnostics.pl

You can also use your local clone with git send-email.

#diagnostics.pl

builds.sr.ht status

SWI-Prolog source code diagnostics.

#Installation

To install this package as a library run the following command:

$ swipl -g "pack_install(diagnostics)" -t halt

#Usage

To run diagnosis on all source files in a given diretory:

$ swipl -q -g "use_module(library(diagnostics))" -t halt -- some/path/*.pl another/file.pl

#Documentation

Documentation is generated with PlDoc and available at this link.

#Contributing

For questions, requests, patches, please write to ~eshel/dev@lists.sr.ht specifying the name of this repository in mail subject, e.g. [PATCH diagnostics.pl] fix it.