Prolog binding for the uriparser library.
-
Install SWI-Prolog.
-
Install the uriparser library:
apt install liburiparser-dev
Install this library:
swipl -g 'pack_install(prolog_uriparser)' -t halt
Include the library with the following declaration:
?- [library(uriparser)].
Then parse your first URI:
?- is_uri('https://check /').
false.