3c567b895fFix (**)/2 operator type
Paulo Moura
2021-05-09 21:02:44 +01:00
673c75fb72Fix missing argument in current_op/3 predicate exception term
Paulo Moura
2021-05-09 20:51:41 +01:00
7a576ee36eFix bitwise shift functions type error in the second argument
Paulo Moura
2021-05-09 19:58:35 +01:00
73c09e3365Fix open/3-4 predicates error term when the stream argument is bound
Paulo Moura
2021-05-09 19:21:21 +01:00
07dd2b279eFix throw/1 control construct to throw an instantiation error when the argument is not bound
Paulo Moura
2021-05-09 12:42:51 +01:00
c7943d2521Switched from using @LukeMathWalker's image to using the official Rust image. Was experiencing cache issues before that, either due to the image, or due to Docker cache being weird...
panasenco
2021-05-08 17:04:54 -07:00
9b483d381fMerge pull request #928 from panasenco/permutation
Mark Thom
2021-05-08 15:09:01 -06:00
4e25337779Merge pull request #933 from pmoura/add_epsilon_arithmetic_constant
Mark Thom
2021-05-08 15:08:13 -06:00
1e5041b8b0Moved MIT header to top of lists.pl
panasenco
2021-05-08 13:32:30 -07:00
3f4bbe9b9eAdd epsilon/0 arithmetic constant
Paulo Moura
2021-05-08 21:23:54 +01:00
56eaf883dcMerge pull request #932 from pmoura/fix_abolish_bug_with_no_existing_predicates
Mark Thom
2021-05-08 12:39:28 -06:00
d8c0af7dedFix abolish/1 to succeed on non-existing predicates as per standard
Paulo Moura
2021-05-08 11:13:08 +01:00
8724a6b6e2Ported permutation/2 from SWI library(lists)
panasenco
2021-05-07 00:29:48 -07:00
b968b2c438add missing default RevJmpBy arm to thread_choice_instr_at_to (prompted by #922)
Mark Thom
2021-05-05 11:16:33 -06:00
533d1ea9abset self.dynamic_mode to FirstOrNext::Next independently of succeed or failure in dynamic indexing instructions (prompted by #922)
Mark Thom
2021-05-04 20:54:00 -06:00
c9e32c449acorrect assertz/1 bugs (#922)
Mark Thom
2021-05-04 17:53:02 -06:00
d9e42bfcbafix incremental compilation and multifile bugs
Mark Thom
2021-05-03 16:59:12 -06:00
f552564fc1import builtins to dynamically generated modules unless builtins is being defined
Mark Thom
2021-05-02 11:01:17 -06:00
b21a096516add read/2 and nl/1 (#896)
Mark Thom
2021-05-01 15:29:41 -06:00
d0b25de554add user_error stream (#917)
Mark Thom
2021-04-30 21:58:03 -06:00
bba836dc31fail on undefined multifile/discontiguous/dynamic predicates (#915)
Mark Thom
2021-04-30 21:46:50 -06:00
14fc8e2efasupport full paths in load_context_path/2 (#916)
Mark Thom
2021-04-30 20:38:26 -06:00
d8bd4fbea6fail when retracting undefined dynamic predicates (#918)
Mark Thom
2021-04-30 20:36:56 -06:00
7cc89da879Merge pull request #920 from panasenco/serialize
Mark Thom
2021-04-29 13:11:13 -06:00
baed12f45eOops, we want to keep digits as characters in library(abnf), but as numbers in library(json).
panasenco
2021-04-28 22:58:04 -07:00
dfbf291725Restructuring and improving documentation.
panasenco
2021-04-28 22:22:00 -07:00
cb07074246Replaced object() with pairs() in library(json), and made key type explicit.
panasenco
2021-04-28 16:09:38 -07:00
0198fe90b6Added ABNF grammar to library(charsio) as well as octet character type that it depends on. Modified library(json) to use the new ABNF grammar.
panasenco
2021-04-27 22:48:03 -07:00
061221b073Alphabetized character logic in macros.rs and system_calls.rs
panasenco
2021-04-27 11:58:39 -07:00
7e4cfede7dfix use of local skeletons to reload predicates (#919)
Mark Thom
2021-04-27 02:00:54 -06:00
48225c3c0aMerge pull request #913 from panasenco/json
Mark Thom
2021-04-26 13:34:04 -06:00
02b89362b2Replaced raw_chars//1 in library(pio) with seq//1 in library(dcgs).
panasenco
2021-04-25 14:53:37 -07:00
2cbc7e4f9aAnother thorough rewrite of library(json) to better preserve the complete set of answers as much as possible and thereby write more elegant and simple code. Some performance gains too!
panasenco
2021-04-22 23:51:34 -07:00
7bec37bfd8Merge pull request #912 from panasenco/json
Mark Thom
2021-04-22 17:44:44 -06:00
828550687cRewrote many parts of library(json) to leave no choicepoints when generating JSON. However, the generating performance actually worsened slightly...
panasenco
2021-04-22 13:31:06 -07:00
d3caba4073Now preserving distinction between ints and floats
panasenco
2021-04-20 19:59:01 -07:00
7e802706feSeem to be generating JSON correctly and at a good speed too!
panasenco
2021-04-20 17:26:38 -07:00
c87e3eac08Removed CLP(Z) from library(json), achieving a 100x speedup in JSON parsing.
panasenco
2021-04-20 16:58:33 -07:00
5b1b12ec9eFixed forward slash special case issue, added a bunch of test files that were successfully read!
panasenco
2021-04-19 21:46:11 -07:00
c0c6f13d44Fixed defaulty representations of json_members//1 and json_elements//1
panasenco
2021-04-19 14:57:15 -07:00
20f192daa1Changed formatting to match Markus Triska's as much as I can tell
panasenco
2021-04-18 23:44:10 -07:00
0e73b53803Complete reordering and partial rewrite to match the official McKeeman form of the JSON specification
panasenco
2021-04-18 23:21:12 -07:00
e2923c378eAdded objects and type distinction based on the principal functor
panasenco
2021-04-18 14:59:16 -07:00
216d4da85aParsing and generating JSON numbers works perfectly now as far as I can tell
panasenco
2021-04-17 21:44:57 -07:00
407e775282Began working on json library (fresh start after thinking about instantiation in terms of search strategies)
panasenco
2021-04-12 15:15:29 -07:00
e71afa63b0Merge pull request #909 from triska/master
Mark Thom
2021-04-17 10:34:48 -06:00
30fd99679aadd a new section about support and discussions
Markus Triska
2021-04-17 13:42:35 +02:00
a9ef15cdfaMerge pull request #900 from triska/master
Mark Thom
2021-04-14 15:28:59 -06:00
b08442b46fassertz/1, asserta/1, retract/1, retractall/1 are meta-predicates (#902, #903)
Mark Thom
2021-04-14 15:10:45 -06:00
f56e2fc48eremove rectractall/1 (built-in since 8188e3d0cf).
Markus Triska
2021-04-14 20:18:50 +02:00
5452b55e38Merge pull request #897 from panasenco/master
Mark Thom
2021-04-12 21:55:58 -06:00
bec8d36961Switched to cargo-chef for preparing the Docker image
panasenco
2021-04-12 14:54:15 -07:00
8188e3d0cfadd missing standard predicates (#896)
Mark Thom
2021-04-12 10:49:18 -06:00
10e92eec32call '$erase_ball' before running cleanup code in setup_call_cleanup (#886)
Mark Thom
2021-03-24 16:56:48 -06:00
37f2336eeestop unifying ! to free variables in control_functor/1 (#887)
Mark Thom
2021-03-24 15:05:59 -06:00
290cb1b517make retract_local_clauses safe, remove warning about overwriting warning in do_not_duplicate_path_components test
Mark Thom
2021-03-23 12:37:43 -06:00
7520fe7000use occurs check when enabled in UnifyValue (#885)
Mark Thom
2021-03-22 22:05:03 -06:00
9f861dfe89reorder declaration matching in loader.pl
Mark Thom
2021-03-22 18:13:01 -06:00
fffb87d013flush loader term queue before compiling declarations, declare '/1' as dynamic before asserting
Mark Thom
2021-03-22 16:53:23 -06:00
0cb731c584remove redundant retraction records for incremental compilation
Mark Thom
2021-03-22 15:27:45 -06:00
233faea200compare the tails of partial string prefixes in compare_pstr_prefixes (#883)
Mark Thom
2021-03-22 12:44:58 -06:00
1b9015a049copies only those attributes planted by the calling module
Mark Thom
2021-03-21 13:00:29 -06:00
111de1462cremove vestigial attribute goals struct field and related predicates
Mark Thom
2021-03-21 11:58:37 -06:00
7fb0b4a8dfrename issue841-occure-check.pl to issue841-occurs-check.pl
Mark Thom
2021-03-19 16:35:50 -06:00
627c49c5dbrecognize cuts in (->)/(,)/(;) calling contexts (#878)
Mark Thom
2021-03-19 16:34:55 -06:00
665b1ad58aMerge pull request #872 from notoria/charsio
Mark Thom
2021-03-18 14:51:36 -06:00
4623e9d7fcfix findall/4 (#873)
Mark Thom
2021-03-18 12:50:12 -06:00
a3f0290432restore deleted parts of number_chars/2 and number_codes/2 (#721)
Mark Thom
2021-03-17 20:23:58 -06:00
69b1798af7print floating point zero as 0.0 (#859)
Mark Thom
2021-03-17 20:17:08 -06:00
10af206024make chars callable (#713)
Mark Thom
2021-03-17 19:50:41 -06:00
6c23d7aec8always print variable bindings before names (#865)
Mark Thom
2021-03-17 19:27:53 -06:00
7937ccee30check that a load context path is a filename before potentially returning it as a string
Mark Thom
2021-03-17 18:58:33 -06:00
b98e8c34ebfindall/4 should be declared as a meta-predicate (#873)
Mark Thom
2021-03-17 18:13:06 -06:00
5c2059b4e8issue an imcomplete reduction error if stream ends with tokens remaining to be parsed (#871)
Mark Thom
2021-03-17 14:23:34 -06:00
5f7abda22dremove operators declared at user-level from files when reloading
Mark Thom
2021-03-16 13:47:30 -06:00
51424aed32clear user-level definitions when reloading a file (#455)
Mark Thom
2021-03-16 02:30:09 -06:00
914fb09ed0don't warn about overwriting a clause asserted to a dynamic predicate whose clauses have all been retracted (#870)
Mark Thom
2021-03-15 14:22:54 -06:00
7ea7e5c951remove intra-module predicates from module code directory when module is being re-defined (#848)
Mark Thom
2021-03-13 23:22:24 -07:00
c69807b416Merge pull request #866 from Skgland/add_tests
Mark Thom
2021-03-13 00:39:01 -07:00
08320119f1fix expected output for syntax_error test
Skgland
2021-03-11 17:01:26 +01:00
49dcd9bb4aaddress problems brought up in review
Skgland
2021-03-11 16:16:31 +01:00
8f41603101add more tests
Skgland
2021-03-11 01:19:17 +01:00