Skip to content

Commit

Permalink
fixing opts/2
Browse files Browse the repository at this point in the history
  • Loading branch information
josd committed Nov 26, 2024
1 parent 8417342 commit a9cc6da
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions RELEASE
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
EYE release

v10.30.8 (2024-11-26) fixing opts/2
v10.30.7 (2024-11-26) changing --proof-explanation to --ether (explain the reasoning)
v10.30.6 (2024-11-25) adding --proof-explanation command line switch to output proof explanation using log:proves
v10.30.5 (2024-11-22) experimental (functor; args) compound terms
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
10.30.7
10.30.8
7 changes: 5 additions & 2 deletions eye.pl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
:- catch(use_module(library(process)), _, true).
:- catch(use_module(library(http/http_open)), _, true).

version_info('EYE v10.30.7 (2024-11-26)').
version_info('EYE v10.30.8 (2024-11-26)').

license_info('MIT License

Expand Down Expand Up @@ -697,6 +697,9 @@
retractall(flag('max-inferences', _)),
assertz(flag('max-inferences', Limit)),
opts(Argus, Args).
opts(['--no-bnode-relabeling'|Argus], Args) :-
!,
opts(Argus, Args).
opts(['--no-distinct-input'|Argus], Args) :-
!,
retractall(flag('no-distinct-input')),
Expand Down Expand Up @@ -852,7 +855,7 @@
assertz(wcache(Arg, File)),
opts(Argus, Args).
opts([Arg|_], _) :-
\+memberchk(Arg, ['--entail', '--help', '--n3', '--n3p', '--no-bnode-relabeling', '--not-entail', '--pass', '--pass-all', '--proof', '--query', '--trig', '--turtle']),
\+memberchk(Arg, ['--entail', '--help', '--n3', '--n3p', '--not-entail', '--pass', '--pass-all', '--proof', '--query', '--trig', '--turtle']),
sub_atom(Arg, 0, 2, _, '--'),
!,
throw(not_supported_option(Arg)).
Expand Down
Binary file modified eye.zip
Binary file not shown.

0 comments on commit a9cc6da

Please sign in to comment.