Download Ciao Manual - The Ciao System

Transcript
Chapter 1: Introduction
17
• Introduced check_cycles prolog_flag which controls whether the
toplevel handles or not cyclic terms. Flag is set to false by default (cycles not detected and handled) in order to speed up responses. (Daniel
Cabeza)
• Modified valid_solution/2 so that it asks no question when there are no
pending choice points and the prompt_alternatives_no_bindings prolog
flag is on. (Jose Morales)
• Now ’Y’ can be used as well as ’y’ to accept a solution of a query. (Daniel
Cabeza)
• Added newline before true when displaying empty solutions. (Jose
Morales)
• Multifile declarations of packages used by the toplevel were not properly
handled. Fixed. (Daniel Cabeza)
• Fixed bug in output of bindings when current output changed.
• Changes so that including files in the toplevel (or loading packages) does
not invoke an expansion of the ending end of file. This makes sense because the toplevel code is never completed, and thus no cleanup code of
translations is invoked. (Daniel Cabeza)
• Compiler enhancements and bug fixes:
• Added a command line option to ciaoc for generating code with runtime
checks. (Daniel Cabeza)
• Now the compiler reads assertions by default (when using the assertion
package), and verifies their syntax. (Edison Mera)
• Added option -w to ciaoc compiler to generate the WAM code of the
specified prolog files. (Edison Mera)
• Fixed bug in exemaker: now when main/0 and main/1 exists, main/0 is
always the program entry (before in modules either could be). (Daniel
Cabeza)
• Fixed bug: when compiling a file, if an imported file had no itf and it
used the redefining declaration, the declaration was forgotten between the
reading of the imported file (to get its interface) and its later compilation.
By now those declarations are never forgotten, but perhaps it could be
done better. (Daniel Cabeza)
• The unloading of files kept some data related to them, which caused in
some cases errors or warnings regarding module redefinitions. Now this is
fixed. (Daniel Cabeza)
• Undefined predicate warnings also for predicate calls qualified with current
module (bug detected by Pawel Pietrzak). (Daniel Cabeza)
• Fixed bug debugger_include (that is, now a change in a file included from
a module which is debugged is detected when the module is reloaded).
(Daniel Cabeza)
• Fixed a(B) :- _=B, b, c(B) bug in compilation of unification. (Jose
Morales)
• Improving general support for language extensions:
• Every package starts with ’:- package(...)’ declaration now. This allows a clear distinction between packages, modules, and files that are just
included; all of them using the same .pl extension. (Jose Morales)
• Added priority in syntax translations. Users are not required to know the
details of translations in order to use them (experimental: the the correct
order for all the Ciao packages is still not fixed) (Jose Morales)