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

Package "dotcloud"

Title:Conveniences for running on dotCloud
Rating:Not rated. Create the first rating!
Latest version:0.0.2
SHA1 sum:4e6b0eaeda2a859619923f5bf02df497431c34dc
Author:Michael Hendricks <michael@ndrix.org>
Maintainer:Michael Hendricks <michael@ndrix.org>
Packager:Michael Hendricks <michael@ndrix.org>
Home page:http://packs.ndrix.com/dotcloud/index.html
Download URL:http://packs.ndrix.com/dotcloud/dotcloud-0.0.2.tgz

Reviews

No reviews. Create the first review!.

Details by download location

VersionSHA1#DownloadsURL
0.0.1d6e4dc0fdb5e5037476c8683335181d59ec1f5666http://packs.ndrix.com/dotcloud/dotcloud-0.0.1.tgz
0.0.24e6b0eaeda2a859619923f5bf02df497431c34dc26http://packs.ndrix.com/dotcloud/dotcloud-0.0.2.tgz

Synopsis

Inside a dotCloud run file.

#!/path/to/swipl -s
:- use_module(library(dotcloud)).
:- http_handler(/, hello, []).

main(_) :-
    server(www).

hello(_Request) :-
    format('Content-type: text/plain~n~n'),
    format('Hello Prolog, from dotCloud!~n').

Description

A convenience library for working with SWI-Prolog on dotCloud.

Changes in this Version

  • First public release

Installation

Using SWI-Prolog 6.3 or later:

?- pack_install(dotcloud).

This module uses semantic versioning.

Source code available and pull requests accepted at http://github.com/mndrix/dotcloud

author
- Michael Hendricks <michael@ndrix.org>
license
- BSD

Contents of pack "dotcloud"

Pack contains 4 files holding a total of 2.7K bytes.