The following text was written to the standard output stream when the prolang_v1.pro program was executed from swi-prolog.
mcruz@arch-desktop$ swipl prolang_v1.pro
Welcome to SWI-Prolog (threaded, 64 bits, version 7.6.4)
SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software.
Please run ?- license. for legal details.
For online help and background, visit http://www.swi-prolog.org
For built-in help, use ?- help(Topic). or ?- apropos(Word).
?- module(test).
Warning: test is not a current module (created)
true.
test: ?- consult('proglang_v1.pro').
true.
test: ?- listing.
history(smalltalk, inventor('Alan Kay'), date(1980)).
history(lisp, inventor('John McCarthy'), date(1959)).
history(prolog, inventor('Alan Colmeraur'), date(1971)).
essense(smalltalk, object, 'message passing').
essense(lisp, list, 'recursive functions').
essense(prolog, relation, 'logical inferencing').
language(smalltalk).
language(lisp).
language(prolog).
true.
test: ?- halt.