CSC 366 Standard Demo Page

The following text was written to the standard output stream when the prolang_v2.pro program was executed from swi-prolog.

        mcruz@arch-desktop$ swipl     
        Welcome to SWI-Prolog (Version 2.7.16)
        Copyright (c) 1993-1996 University of Amsterdam.
        All rights reserved.
        For help, use ?- help(Topic). or ?- apropos(Word).
        
        ?- language(snobol).
        true.

        ?- language(snowball).
        false.

        ?- essense(snobol,DT,_).
        DT = pattern.

        ?- essense(L,matrix,_).
        L = apl.

        ?- language(L).
        L = smalltalk ;
        L = lisp ;
        L = prolog ;
        L = snobol ;
        L = apl.

        ?- language(Language),write(Language),nl,fail.
        smalltalk
        lisp
        prolog
        snobol
        apl
        false.

        ?- history(apl,I,_).
        I = inventor('Kenneth Iverson')

        ?- history(L,list,date(1959)).
        false.

        ?- history(_,list,date(1959)).
        false.

        ?- essense(L,list,_),history(_,_,date(1959)).
        L = lisp.
        
        ?- halt.