Did you know ... Search Documentation:
Packs (add-ons) for SWI-Prolog

Package "prolog_uriparser"

Title:Prolog binding for uriparser
Rating:Not rated. Create the first rating!
Latest version:1.0.5
SHA1 sum:7b0246fa5a64952f8556e85c50efeb756157f21b
Author:Wouter Beek <wouter@triply.cc>
Maintainer:Wouter Beek <wouter@triply.cc>
Packager:Wouter Beek <wouter@triply.cc>
Home page:https://github.com/wouterbeek/prolog_uriparser
Download URL:https://github.com/wouterbeek/prolog_uriparser/releases/*.zip

Reviews

No reviews. Create the first review!.

Details by download location

VersionSHA1#DownloadsURL
1.0.081407a83ccfbe16b0ec914a81803dcc88c0a509d1https://github.com/wouterbeek/prolog_uriparser/archive/1.0.0.zip
1.0.16f71fc1a66f47eaf48a522b8b96c3412e29f2f541https://github.com/wouterbeek/prolog_uriparser/archive/1.0.1.zip
1.0.25e67dce41526faf8596575b1cb82867e3d3733611https://github.com/wouterbeek/prolog_uriparser/archive/1.0.2.zip
1.0.3d9fd94a4bd925a3a2724e78b1be8abda0c7b1a162https://github.com/wouterbeek/prolog_uriparser/archive/1.0.3.zip
1.0.4936cfa07fa6ebc2629c7799adc81c5f754d6f6254https://github.com/wouterbeek/prolog_uriparser/archive/1.0.4.zip
1.0.57b0246fa5a64952f8556e85c50efeb756157f21b3https://github.com/wouterbeek/prolog_uriparser/archive/1.0.5.zip

Prolog binding for uriparser

Prolog binding for the uriparser library.

Dependencies

  1. Install SWI-Prolog.
  2. Install the uriparser library:
apt install liburiparser-dev

Installation

Install this library:

swipl -g 'pack_install(prolog_uriparser)' -t halt

Use

Include the library with the following declaration:

?- [library(uriparser)].

Then parse your first URI:

?- is_uri('https://check /').
false.

Contents of pack "prolog_uriparser"

Pack contains 9 files holding a total of 15.3K bytes.