operator support
This commit is contained in:
parent
c25d35356a
commit
34b731a4ae
2
.gitignore
vendored
2
.gitignore
vendored
@ -148,5 +148,5 @@ cmake/cmake-android
|
|||||||
yap-6.3.workspace
|
yap-6.3.workspace
|
||||||
|
|
||||||
YAP.project
|
YAP.project
|
||||||
|
sublime
|
||||||
*.tmp
|
*.tmp
|
||||||
|
@ -171,7 +171,11 @@ list, since backtracking could not "pass through" the cut.
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
system_module(_Mod, _SysExps, _Decls) :- ! .
|
system_module(_Mod, _SysExps, _Decls) :- ! ,
|
||||||
|
source_module( prolog ), !.
|
||||||
|
system_module(_Mod, _SysExps, _Decls) :-
|
||||||
|
nb_setval('$if_skip_mode',skip).
|
||||||
|
|
||||||
% new_system_module(Mod).
|
% new_system_module(Mod).
|
||||||
|
|
||||||
use_system_module(_init, _SysExps) :- !.
|
use_system_module(_init, _SysExps) :- !.
|
||||||
@ -1417,8 +1421,8 @@ bootstrap(F) :-
|
|||||||
!.
|
!.
|
||||||
'$loop'(Stream,Status) :-
|
'$loop'(Stream,Status) :-
|
||||||
% start_low_level_trace,
|
% start_low_level_trace,
|
||||||
'$current_module'( OldModule ),
|
|
||||||
repeat,
|
repeat,
|
||||||
|
source_module( OldModule ),
|
||||||
'$system_catch'( '$enter_command'(Stream,OldModule,Status),
|
'$system_catch'( '$enter_command'(Stream,OldModule,Status),
|
||||||
OldModule, Error,
|
OldModule, Error,
|
||||||
user:'$LoopError'(Error, Status)
|
user:'$LoopError'(Error, Status)
|
||||||
|
@ -708,7 +708,7 @@ db_files(Fs) :-
|
|||||||
),
|
),
|
||||||
'$loop'(Stream,Reconsult),
|
'$loop'(Stream,Reconsult),
|
||||||
'$lf_opt'(imports, TOpts, Imports),
|
'$lf_opt'(imports, TOpts, Imports),
|
||||||
'$import_to_current_module'(File, ContextModule, Imports, _, TOpts),
|
'$import_to_current_module'(File, SourceModule, Imports, _, TOpts),
|
||||||
'$current_module'(Mod, SourceModule),
|
'$current_module'(Mod, SourceModule),
|
||||||
H is heapused-H0, '$cputime'(TF,_), T is TF-T0,
|
H is heapused-H0, '$cputime'(TF,_), T is TF-T0,
|
||||||
'$early_print'(Verbosity, loaded(EndMsg, File, Mod, T, H)),
|
'$early_print'(Verbosity, loaded(EndMsg, File, Mod, T, H)),
|
||||||
|
Reference in New Issue
Block a user