Mark Thom
|
fe05082ddc
|
add sockets library, use new type_error function from sockets system calls
|
2020-05-05 22:57:06 -06:00 |
|
Mark Thom
|
414acda9e0
|
add put_code/{1,2}, get_code/{1,2}, improve get_* predicates
|
2020-05-05 22:42:35 -06:00 |
|
Mark Thom
|
47e3a5e75a
|
add put_byte/{1,2}, put_char/{1,2}
|
2020-05-05 17:42:18 -06:00 |
|
Mark Thom
|
573df892bc
|
cleanup on reading predicates, add get_char/{1,2}
|
2020-05-05 16:54:40 -06:00 |
|
Mark Thom
|
bfced59949
|
clean up stream error handling, add get_byte/{1,2}
|
2020-05-05 16:09:17 -06:00 |
|
Mark Thom
|
9a63b1751b
|
change EOFCode eof_action from end_of_stream to end_of_file, add echo_server.pl example
|
2020-05-05 14:15:16 -06:00 |
|
Mark Thom
|
53ae8b9bd1
|
add flush_output/{0,1}, past_end_of_stream
|
2020-05-05 14:10:49 -06:00 |
|
Mark Thom
|
ab62603c5a
|
add close/{1,2}, better EOF action handling in read_term
|
2020-05-05 00:38:21 -06:00 |
|
Mark Thom
|
dd247cd541
|
adapt write_term family, add handling for EOF actions.
|
2020-05-04 21:17:06 -06:00 |
|
Mark Thom
|
0d7a9f32d6
|
add open/3, write_term/3
|
2020-05-04 14:50:26 -06:00 |
|
Mark Thom
|
407094cdcb
|
merge
|
2020-05-03 23:36:26 -06:00 |
|
Mark Thom
|
0111db6744
|
improve answer substitutions at top-level
|
2020-05-03 23:35:21 -06:00 |
|
Mark Thom
|
a49230c0e1
|
Merge branch 'master' into sockets-develop
|
2020-05-03 23:09:13 -06:00 |
|
Mark Thom
|
d04abc2021
|
improve answer substitutions at top-level
|
2020-05-03 23:08:53 -06:00 |
|
Mark Thom
|
b5368207d6
|
merge with master
|
2020-05-03 18:49:15 -06:00 |
|
Mark Thom
|
b8400e0c92
|
make term{_attributed_}variables/2 order {attributed} variables by left-to-right occurrence
|
2020-05-03 18:43:23 -06:00 |
|
Mark Thom
|
ef6b6cd279
|
Merge pull request #450 from triska/master
do not project queue/2 attributes to residual goals
|
2020-05-03 20:34:47 -03:00 |
|
Mark Thom
|
e5903d8d6e
|
use select/3 in gather_equations for detecting whether variables are distinct.
|
2020-05-03 20:31:12 -06:00 |
|
Mark Thom
|
e2a3db1b82
|
use copy_term/3 as source of attribute goals
|
2020-05-03 19:34:18 -06:00 |
|
Mark Thom
|
9e220e8416
|
restore previous focus upon character match failure in compare_pstr_to_string (#441)
|
2020-05-03 17:03:59 -06:00 |
|
Mark Thom
|
aafe18c2b5
|
Merge pull request #449 from notoria/read
Completed read/1, ctrl-d is end_of_file
|
2020-05-03 15:27:46 -03:00 |
|
Mark Thom
|
262e8af813
|
version bump for prolog_parser
|
2020-05-03 13:46:34 -06:00 |
|
Mark Thom
|
a494cdaf92
|
use complete strings in FileToChars (#430)
|
2020-05-03 02:54:49 -06:00 |
|
Mark Thom
|
848425418b
|
Project goals of query variables (#362)
|
2020-05-02 22:27:32 -06:00 |
|
Mark Thom
|
989bed88fe
|
wrap support code in modules
|
2020-05-02 21:26:36 -06:00 |
|
Mark Thom
|
99f66200f7
|
Merge branch 'master' of https://github.com/mthom/rusty-wam
|
2020-05-02 18:47:53 -06:00 |
|
Mark Thom
|
b642bd2cfd
|
add term_attributed_variables/2 (#422)
|
2020-05-02 18:46:29 -06:00 |
|
Mark Thom
|
c062b7c9da
|
Merge pull request #443 from notoria/arithmetic
Implemented expmod/4
|
2020-05-02 12:00:44 -03:00 |
|
Mark Thom
|
a019109857
|
Merge pull request #440 from notoria/arithmetic
Enhanced number_to_rational/2 and number_to_rational/3
|
2020-05-01 21:48:55 -03:00 |
|
Mark Thom
|
46cdf14ecc
|
Merge pull request #439 from notoria/cli2
Enhanced command line?
|
2020-05-01 21:45:03 -03:00 |
|
Mark Thom
|
fd5ff20b68
|
Merge branch 'master' of https://github.com/mthom/rusty-wam
|
2020-05-01 21:40:45 -06:00 |
|
Mark Thom
|
81f9666e82
|
cut after compound check in (;)/2 only after semicolon_compound_selector succeeds
|
2020-05-01 21:40:36 -06:00 |
|
Mark Thom
|
aa8659d5c7
|
insert cuts where needed into (;)/3 (#434)
|
2020-05-01 18:52:01 -06:00 |
|
Mark Thom
|
59b4c6dacb
|
Merge pull request #437 from triska/master
use ℤ
|
2020-05-01 19:08:45 -03:00 |
|
Mark Thom
|
6f19649186
|
Merge pull request #436 from mthom/revert-419-cli
Revert "Enhanced command line"
|
2020-05-01 18:43:37 -03:00 |
|
Mark Thom
|
6617b79cd8
|
Merge pull request #419 from notoria/cli
Enhanced command line
|
2020-05-01 18:32:02 -03:00 |
|
Mark Thom
|
46b695d093
|
accept any and all characters in comment chars
|
2020-05-01 16:39:27 -06:00 |
|
Mark Thom
|
b71ec91f57
|
Merge pull request #432 from triska/master
correct overeager CLP(ℤ) goal expansion
|
2020-05-01 13:41:43 -03:00 |
|
Mark Thom
|
1b7c226779
|
correct failing character match in compare_pstr_to_string (#397)
|
2020-05-01 10:29:10 -06:00 |
|
Mark Thom
|
847a92f580
|
map single character atoms down to characters in constant_index
|
2020-05-01 01:34:09 -06:00 |
|
Mark Thom
|
a346493de1
|
Merge branch 'master' of https://github.com/mthom/rusty-wam
|
2020-04-30 18:20:51 -06:00 |
|
Mark Thom
|
efd5d6efab
|
use slightly better names in indexing functions
|
2020-04-30 18:20:42 -06:00 |
|
Mark Thom
|
b6df5a4b7f
|
only add expanded goals to dynamic clause code (#416)
|
2020-04-30 17:53:26 -06:00 |
|
Mark Thom
|
34ae56e319
|
correct queue_len += queue_len; to queue_len += queue.len(); (#416)
|
2020-04-30 15:31:01 -06:00 |
|
Mark Thom
|
5870824d01
|
Merge pull request #425 from triska/master
enable goal expansion for CLP(ℤ) goals
|
2020-04-30 18:20:27 -03:00 |
|
Mark Thom
|
d3f1cd7411
|
index atoms with operators against the same atom with no operator (#387)
|
2020-04-30 15:09:05 -06:00 |
|
Mark Thom
|
a821daadd3
|
Merge pull request #420 from triska/master
correct verify_attributes/3 for variables that have no CLP(ℤ) attribute attached (#373)
|
2020-04-30 13:32:21 -03:00 |
|
Mark Thom
|
f7b401b9b6
|
fix user:goal_expansion
|
2020-04-30 09:28:11 -06:00 |
|
Mark Thom
|
c342d18f92
|
Merge branch 'master' of https://github.com/mthom/rusty-wam
|
2020-04-30 00:01:12 -06:00 |
|
Mark Thom
|
e0e52a3090
|
fix 'drain lower bound was too large', store user-level expansions to modules (#416)
|
2020-04-30 00:01:00 -06:00 |
|
Mark Thom
|
6f92480315
|
Merge pull request #418 from notoria/mediants
Documentation for arithmetic.pl
|
2020-04-29 18:53:00 -03:00 |
|
Mark Thom
|
ff5b870a9f
|
Merge pull request #417 from notoria/mediants
Implemented predicate mediants/2 with Stern-Brocot tree
|
2020-04-29 18:33:35 -03:00 |
|
Mark Thom
|
7e765fe726
|
correct answer substitution order, equating variables to themselves (#326)
|
2020-04-29 01:45:42 -06:00 |
|
Mark Thom
|
a3bb288f01
|
check that lower bound on term expansion drain is below the len of the term expansion vector, queue (#416)
|
2020-04-28 19:22:20 -06:00 |
|
Mark Thom
|
0e1226573a
|
print rational numbers using the rdiv operator when defined (#413)
|
2020-04-28 18:03:04 -06:00 |
|
Mark Thom
|
8151b65d12
|
Merge branch 'master' of https://github.com/mthom/rusty-wam
|
2020-04-28 17:20:25 -06:00 |
|
Mark Thom
|
eefd36b50d
|
do length check in PartialString::range_from (#412)
|
2020-04-28 17:20:14 -06:00 |
|
Mark Thom
|
6f4d769187
|
Merge pull request #414 from triska/master
Small corrections, additions and improvements
|
2020-04-28 16:54:39 -03:00 |
|
Mark Thom
|
97115a9c1c
|
Merge branch 'master' of https://github.com/mthom/rusty-wam
|
2020-04-28 01:41:11 -06:00 |
|
Mark Thom
|
36134c61b2
|
erase unnecessary stub from block of FileToChars
|
2020-04-28 01:40:59 -06:00 |
|
Mark Thom
|
77cf0fd87b
|
don't append lists of attributes when binding attributed variables (#353)
|
2020-04-28 01:40:11 -06:00 |
|
Mark Thom
|
ab77a1cbc0
|
modify domain.pl example (#347)
|
2020-04-28 01:39:34 -06:00 |
|
Mark Thom
|
8490892493
|
Merge pull request #409 from triska/clp
add more information about Constraint Logic Programming (CLP)
|
2020-04-27 15:05:15 -03:00 |
|
Mark Thom
|
931de7e39c
|
Merge pull request #408 from triska/master
Introduce and use new predicates for throwing ISO errors
|
2020-04-27 14:35:17 -03:00 |
|
Mark Thom
|
f8717359d7
|
Merge pull request #406 from notoria/random
Created the library random and updated library clpb
|
2020-04-27 09:14:01 -03:00 |
|
Mark Thom
|
fe395e3a8c
|
publish bimetatrans_ruleml_tests, move both files to own directory
|
2020-04-26 20:32:16 -06:00 |
|
Mark Thom
|
eb9fe851af
|
Merge branch 'master' of https://github.com/mthom/rusty-wam
|
2020-04-26 20:15:27 -06:00 |
|
Mark Thom
|
4b0f60fe71
|
Merge pull request #405 from triska/master
Two small documentation additions
|
2020-04-26 17:20:58 -03:00 |
|
Mark Thom
|
3fd557c74a
|
Merge pull request #402 from notoria/pio
Small patch for library pio
|
2020-04-26 12:17:09 -03:00 |
|
Mark Thom
|
ae2402f4a7
|
Merge pull request #399 from notoria/debug
Implemented the Debug trait for all data structures
|
2020-04-25 23:35:27 -03:00 |
|
Mark Thom
|
e1a019ec56
|
Merge pull request #398 from triska/master
Several smaller improvements
|
2020-04-25 17:20:24 -03:00 |
|
Mark Thom
|
2d7fcbf23d
|
use proper module name in bimetatrans_ruleml
|
2020-04-25 12:55:36 -06:00 |
|
Mark Thom
|
ae9232a2cb
|
Merge pull request #396 from notoria/phrase_from_file
Implemented phrase_from_file/2 and /2
|
2020-04-25 14:17:24 -03:00 |
|
Mark Thom
|
a2400767ed
|
Merge pull request #391 from notoria/msb_lsb2
Implemented lsb/2 and msb/2
|
2020-04-25 12:58:03 -03:00 |
|
Mark Thom
|
e27c2b59c8
|
Merge pull request #380 from notoria/char_type
Implementation of the predicate char_type for a subset
|
2020-04-23 21:57:03 -03:00 |
|
Mark Thom
|
c130b3a92e
|
Merge pull request #381 from triska/master
ADDED: library(format) now provides a rudimentary version of listing/1
|
2020-04-21 21:16:40 -03:00 |
|
Mark Thom
|
caf20cd43d
|
Merge pull request #377 from triska/master
portray_clause/1 now correctly tracks variable names (#376)
|
2020-04-20 19:16:12 -03:00 |
|
Mark Thom
|
31c868818b
|
Merge pull request #375 from notoria/sleep
Changed the error being thrown by sleep/1
|
2020-04-20 11:52:25 -03:00 |
|
Mark Thom
|
443c4b6cd0
|
speed unification of pairs of partial strings
|
2020-04-20 11:37:32 -06:00 |
|
Mark Thom
|
ee425bb7f0
|
change CPU_now to CpuNow
|
2020-04-20 10:37:00 -06:00 |
|
Mark Thom
|
9d1c026231
|
check for num in comparisons, bump num-rug-adapter to 0.1.3
|
2020-04-20 10:35:30 -06:00 |
|
Mark Thom
|
c9750fab2c
|
Merge pull request #371 from notoria/sleep
Added the sleep predicate
|
2020-04-19 21:41:33 -03:00 |
|
Mark Thom
|
5a1348e4d1
|
do casts between different arithmetic types for comparison and equality (#372)
|
2020-04-19 21:34:59 -06:00 |
|
Mark Thom
|
b64d45a74e
|
speed comparisons of partial strings
|
2020-04-19 20:58:53 -06:00 |
|
Mark Thom
|
ba5a4c3945
|
use default machine policies in term expansions
|
2020-04-19 19:54:23 -06:00 |
|
Mark Thom
|
9ba37a932b
|
Merge branch 'master' of https://github.com/mthom/rusty-wam
|
2020-04-19 16:43:32 -06:00 |
|
Mark Thom
|
8ce377d033
|
update toplevel comments, add mutable stack to zipped acyclic iterators
|
2020-04-19 16:01:35 -06:00 |
|
Mark Thom
|
eef25ec638
|
Merge pull request #370 from triska/master
ENHANCED: time(Goal) now also reports the time if Goal fails
|
2020-04-19 16:33:51 -03:00 |
|
Mark Thom
|
2c92be5e3d
|
Merge pull request #367 from triska/master
ADDED: library(time), providing time/1 for benchmarking
|
2020-04-19 14:29:09 -03:00 |
|
Mark Thom
|
cae0733149
|
Merge branch 'master' of https://github.com/mthom/rusty-wam
|
2020-04-19 12:58:54 -06:00 |
|
Mark Thom
|
5d6ca7a88e
|
throw '' whenever an interrupt is made (#365, #366)
|
2020-04-19 12:58:44 -06:00 |
|
Mark Thom
|
86364ff278
|
Merge pull request #364 from triska/master
Documentation addition, and correction of error term
|
2020-04-18 22:54:17 -03:00 |
|
Mark Thom
|
3798dcb98d
|
Merge pull request #363 from triska/master
Delay toplevel output until after the goal succeeds
|
2020-04-18 20:37:32 -03:00 |
|
Mark Thom
|
9daf290432
|
remove SCCCutPolicy panic, revise (;)/2 so that comma'ed cuts are handled properly (#361)
|
2020-04-18 20:10:53 -06:00 |
|
Mark Thom
|
3438f88c1e
|
drop $ naming convention inside '' when unnecessary
|
2020-04-18 20:06:52 -06:00 |
|
Mark Thom
|
2c8858ff2d
|
use correct signs in fixnum remainders
|
2020-04-18 17:37:54 -06:00 |
|
Mark Thom
|
1d964ef921
|
add domain and type errors for compare/3 (#296)
|
2020-04-18 14:37:14 -06:00 |
|
Mark Thom
|
0c6d9b1d3b
|
Merge branch 'master' of https://github.com/mthom/rusty-wam
|
2020-04-18 14:17:13 -06:00 |
|
Mark Thom
|
f96e694ff8
|
bracket graphic token chars in toplevel.pl (#357)
|
2020-04-18 14:16:40 -06:00 |
|
Mark Thom
|
d5d635e50f
|
slight tweaks to bimetatrans
|
2020-04-18 14:16:40 -06:00 |
|