Version 2.0 is first of all a freeze of all the features added to the various 1.9.x releases. Version 2.0.6 for PC has moved from the WATCOM C 32-bit windows extender to Windows NT and runs under Windows 3.1 using the Win32s NT emulator.
New features offered:
SWI-Stream.h. Physical I/O of Prolog
streams may be redefined through the foreign language interface,
facilitating much simpler integration in window environments.
Version 2.0.6 offers a few incompatibilities:
retractall(Term) :-
retract(Term),
fail.
retractall(_).
|
As from version 2.0.6, retractall/1 is implemented as a deterministic foreign predicate compatible with Quintus Prolog. It behaves as:
retractall(Head) :-
retract(Head),
fail.
retractall(Head) :-
retract((Head :- _)),
fail.
retractall(_).
|
I.e. the definition behaves the same when handling predicates consisting of facts. Clauses with a non-true body will be retracted if their head matches.
_t to
lessen the chance for conflicts. term, atomic, functor
and
module have #define's for backward
compatibility.
PL_dispatch_events.DLL interface.