Skip to content

Commit

Permalink
further fixing issue #115
Browse files Browse the repository at this point in the history
  • Loading branch information
josd committed Sep 3, 2024
1 parent 3947f90 commit 8176540
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 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.20.2 (2024-09-04) further fixing issue https://github.com/eyereasoner/eye/issues/115
v10.20.1 (2024-09-03) fixing log:callWithCut built-in
v10.20.0 (2024-09-03) integrating lingua into eye
v10.19.9 (2024-09-01) further fixing issue https://github.com/eyereasoner/eye/issues/115
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
10.20.1
10.20.2
14 changes: 10 additions & 4 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.20.1 (2024-09-03)').
version_info('EYE v10.20.2 (2024-09-04)').

license_info('MIT License

Expand Down Expand Up @@ -8516,8 +8516,10 @@
( escape_atom(A, Ae),
atom_codes(Ae, D),
subst([[[0'%, 0's], [0'~, 0'w]]], D, E),
subst([[[0'%, 0'2, 0's], [0' , 0'~, 0'w]]], E, I), % workaround and should be solves in format_to_chars/3
atom_codes(J, I),
preformat(B, F),
format_to_chars(E, F, G),
format_to_chars(J, F, G),
atom_codes(Ce, G),
escape_atom(C, Ce)
)
Expand Down Expand Up @@ -8689,7 +8691,9 @@
),
( preformat(SearchList, SearchList2),
preformat(ReplaceList, ReplaceList2),
replace(SearchList2, ReplaceList2, X, Z),
escape_atom(X, Xe),
replace(SearchList2, ReplaceList2, Xe, Ze),
escape_atom(Z, Ze),
atom_string(Y, Z)
)
).
Expand Down Expand Up @@ -11795,7 +11799,9 @@
!.
replace([Search|SearchRest], [Replace|ReplaceRest], X, Y) :-
atomic_list_concat(['(', Search, ')'], Scap),
scrape(X, Scap, Scrape),
escape_atom(Xe, X),
escape_atom(Scape, Scap),
scrape(Xe, Scape, Scrape),
atom_codes(Replace, RC),
srlist(Scrape, RC, Subst),
atom_codes(X, XC),
Expand Down
Binary file modified eye.zip
Binary file not shown.

0 comments on commit 8176540

Please sign in to comment.