more files to consult
This commit is contained in:
parent
9ac1b3f2c6
commit
a21547d9d4
22
pl/init.yap
22
pl/init.yap
@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
:- use_system_module( '$_boot', ['$cut_by'/1]).
|
:- use_system_module( '$_boot', ['$cut_by'/1]).
|
||||||
|
|
||||||
% :- start_low_level_trace.
|
%:- start_low_level_trace.
|
||||||
|
|
||||||
% This is the YAP init file
|
% This is the YAP init file
|
||||||
% should be consulted first step after booting
|
% should be consulted first step after booting
|
||||||
@ -110,10 +110,9 @@ otherwise.
|
|||||||
|
|
||||||
:- '$all_current_modules'(M), yap_flag(M:unknown, error) ; true.
|
:- '$all_current_modules'(M), yap_flag(M:unknown, error) ; true.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
:- compile_expressions.
|
:- compile_expressions.
|
||||||
|
|
||||||
|
:- bootstrap('bootutils.yap').
|
||||||
:- bootstrap('bootlists.yap').
|
:- bootstrap('bootlists.yap').
|
||||||
:- bootstrap('consult.yap').
|
:- bootstrap('consult.yap').
|
||||||
:- bootstrap('preddecls.yap').
|
:- bootstrap('preddecls.yap').
|
||||||
@ -121,21 +120,16 @@ otherwise.
|
|||||||
:- bootstrap('meta.yap').
|
:- bootstrap('meta.yap').
|
||||||
:- bootstrap('newmod.yap').
|
:- bootstrap('newmod.yap').
|
||||||
|
|
||||||
|
|
||||||
:- bootstrap('atoms.yap').
|
:- bootstrap('atoms.yap').
|
||||||
:- bootstrap('os.yap').
|
:- bootstrap('os.yap').
|
||||||
:- bootstrap('grammar.yap').
|
:- bootstrap('grammar.yap').
|
||||||
|
:- bootstrap('directives.yap').
|
||||||
:- bootstrap('absf.yap').
|
:- bootstrap('absf.yap').
|
||||||
|
|
||||||
%:-set_prolog_flag(gc_trace, verbose).
|
|
||||||
%:- set_prolog_flag( verbose_file_search, true ).
|
|
||||||
|
|
||||||
:- dynamic prolog:'$parent_module'/2.
|
:- dynamic prolog:'$parent_module'/2.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
:- [
|
:- [
|
||||||
'directives.yap',
|
|
||||||
'preds.yap',
|
'preds.yap',
|
||||||
'modules.yap'
|
'modules.yap'
|
||||||
].
|
].
|
||||||
@ -181,6 +175,7 @@ otherwise.
|
|||||||
'spy.yap',
|
'spy.yap',
|
||||||
'udi.yap'].
|
'udi.yap'].
|
||||||
|
|
||||||
|
|
||||||
:- meta_predicate(log_event(+,:)).
|
:- meta_predicate(log_event(+,:)).
|
||||||
|
|
||||||
:- dynamic prolog:'$user_defined_flag'/4.
|
:- dynamic prolog:'$user_defined_flag'/4.
|
||||||
@ -198,9 +193,6 @@ version(yap,[6,3]).
|
|||||||
:- dynamic 'extensions_to_present_answer'/1.
|
:- dynamic 'extensions_to_present_answer'/1.
|
||||||
|
|
||||||
:- ['arrays.yap'].
|
:- ['arrays.yap'].
|
||||||
|
|
||||||
:- ['undefined.yap'].
|
|
||||||
|
|
||||||
%:- start_low_level_trace.
|
%:- start_low_level_trace.
|
||||||
|
|
||||||
:- multifile user:portray_message/2.
|
:- multifile user:portray_message/2.
|
||||||
@ -238,6 +230,8 @@ sub-goal _NG_ will replace _G_ and will be processed in the same
|
|||||||
|
|
||||||
:- use_module('messages.yap').
|
:- use_module('messages.yap').
|
||||||
|
|
||||||
|
:- ['undefined.yap'].
|
||||||
|
|
||||||
:- use_module('hacks.yap').
|
:- use_module('hacks.yap').
|
||||||
|
|
||||||
|
|
||||||
@ -345,6 +339,8 @@ If this hook predicate succeeds it must instantiate the _Action_ argument to th
|
|||||||
|
|
||||||
:- dynamic user:exception/3.
|
:- dynamic user:exception/3.
|
||||||
|
|
||||||
|
|
||||||
|
:- reconsult('pathconf.yap').
|
||||||
/*
|
/*
|
||||||
Add some tests
|
Add some tests
|
||||||
*/
|
*/
|
||||||
@ -352,8 +348,6 @@ If this hook predicate succeeds it must instantiate the _Action_ argument to th
|
|||||||
|
|
||||||
:- yap_flag(user:unknown,error).
|
:- yap_flag(user:unknown,error).
|
||||||
|
|
||||||
:- stream_property(user_input, tty(true)) -> set_prolog_flag(readline, true) ; true.
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
:- if(predicate_property(run_tests, static)).
|
:- if(predicate_property(run_tests, static)).
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user