Skip to content
This repository has been archived by the owner on May 17, 2018. It is now read-only.

Latest commit

 

History

History
34 lines (21 loc) · 711 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 711 Bytes

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