Common Prolog provides a translator from Edinburgh syntax to allow users to port pre-existing code. c onsult
and reconsult
behave as expected while compile-
and-reconsult compiles a file and reconsults the result. Loading of a compiled file is equivalent to reconsult
. Edinburgh syntax may also be used to interact with Common Prolog through the use of a different read-query-print loop. To use Edinburgh syntax, use (erqp)
instead of (rqp)
to start your command loop.