Skip to content

Commit

Permalink
currently disabled since these are being handcoded right now in metta…
Browse files Browse the repository at this point in the history
…_compiler_lib.pl
  • Loading branch information
TeamSPoon committed Dec 28, 2024
1 parent 2a635dd commit b7e7595
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 3 additions & 1 deletion prolog/metta_lang/metta_interp.pl
Original file line number Diff line number Diff line change
Expand Up @@ -891,8 +891,10 @@
len_or_unbound(ParamTypes,PrologArity).

add_prolog_code(_KB,AssertZIfNew):-
fbug(assertz_if_new(AssertZIfNew)),
fbug(add_prolog_code(AssertZIfNew)),
assertz_if_new(AssertZIfNew).

gen_interp_stubs(_KB,_Symb,_Def) :- !. % currently disabled since these are being handcoded right now in metta_compiler_lib.pl
gen_interp_stubs(KB,Symb,Def):-
ignore((is_list(Def),
must_det_ll((
Expand Down
2 changes: 0 additions & 2 deletions prolog/metta_lang/metta_loader.pl
Original file line number Diff line number Diff line change
Expand Up @@ -3640,8 +3640,6 @@
% This predicate checks if stubs have already been generated, and if not, it iterates over
% symbols defined in the core library to create interpreter stubs for each.
%

%generate_interpreter_stubs :- !. %currently disabled
generate_interpreter_stubs :-
% Avoid generating stubs multiple times.
did_generate_interpreter_stubs, !.
Expand Down

0 comments on commit b7e7595

Please sign in to comment.