/*** intro ***/

/*
    prolog is a collection of facts and rules that we can query
*/


/*  
    SWI-Prolog CLI

    - interactive mode                  : $ swipl
    - load file                         : ?- consult('filename.pl').
        or                              : ?- ['filename.pl'].
        or                              : $ swipl filename.pl
    - load multiple files               : ?- ['filename.pl', 'filename.pl']
    - list all clauses in database      : ?- listing.
    - list specific clauses             : ?- listing(character/2).
*/

% include database
:- include('db.pl').

% initialise main 
:- initialization main.

main :- 
    % do something
    
    halt.

/*
    Michael Sjoeberg
    2019-08-27
    https://github.com/michaelsjoeberg/prolog-playground/blob/master/basics/intro.pl
*/