]>
Repositorios git - scryer-prolog.git/log
Mark Thom [Sat, 6 Feb 2021 20:47:26 +0000 (13:47 -0700)]
set rustyline to check the cursor position (#802), don't add .pl extension to files in loader.pl (#800)
Mark Thom [Sat, 6 Feb 2021 06:16:42 +0000 (23:16 -0700)]
remove dynamic clause declaration for clause internal
Mark Thom [Sat, 6 Feb 2021 05:50:57 +0000 (22:50 -0700)]
shed module names from arguments of the (->)/2, (,)/2, (;)/2 predicates
Mark Thom [Sat, 6 Feb 2021 03:18:56 +0000 (20:18 -0700)]
collate paths as atoms in loader.pl (#778)
Mark Thom [Sat, 6 Feb 2021 01:40:13 +0000 (18:40 -0700)]
gather initialization goals and call them once load succeeds (#792)
Mark Thom [Sat, 6 Feb 2021 01:06:27 +0000 (18:06 -0700)]
implement abolish/1
Mark Thom [Sat, 6 Feb 2021 00:17:14 +0000 (17:17 -0700)]
Merge branch 'rebis-dev' of https://github.com/mthom/scryer-prolog into rebis-dev
Mark Thom [Sat, 6 Feb 2021 00:16:42 +0000 (17:16 -0700)]
bootstrap the top-level by calling ''/1 as in master (#790)
Mark Thom [Sat, 6 Feb 2021 00:12:25 +0000 (17:12 -0700)]
delay premature set_switch_var_offset_* calls in retract_clause, add module resolution for asserta/assertz/retract/clause
Mark Thom [Fri, 5 Feb 2021 20:24:53 +0000 (13:24 -0700)]
Merge pull request #798 from triska/rebis-dev
CLP(ℤ) enhancements for Rebis
Mark Thom [Fri, 5 Feb 2021 20:13:54 +0000 (13:13 -0700)]
make load_context_path/2 handle .pl file extensions, remove commented out code
Markus Triska [Fri, 5 Feb 2021 20:06:08 +0000 (21:06 +0100)]
ENHANCED: Enable goal expansion for CLP(ℤ).
This is now possible since #445 is resolved.
Markus Triska [Fri, 5 Feb 2021 19:59:47 +0000 (20:59 +0100)]
Revert "preliminary workaround for #788"
This reverts commit
164b9930640656700505188eab684b3575ab1fe8,
which was made obsolete by
75a52f032b95fc74c1c3fa93996fd0f61775c28f.
Mark Thom [Fri, 5 Feb 2021 09:16:14 +0000 (02:16 -0700)]
implement dynamic, multifile, and discontiguous properties and callable type checking for predicate_property/2
Mark Thom [Fri, 5 Feb 2021 04:02:34 +0000 (21:02 -0700)]
remove defunct reset function (#782)
Mark Thom [Fri, 5 Feb 2021 03:51:55 +0000 (20:51 -0700)]
modify rightmost_power/2 to ignore module qualification on (^)/2 (#794)
Mark Thom [Thu, 4 Feb 2021 23:59:16 +0000 (16:59 -0700)]
perform goal expansion in call/N (#788, #797)
Mark Thom [Thu, 4 Feb 2021 19:51:09 +0000 (12:51 -0700)]
Merge pull request #793 from triska/rebis-dev
preliminary workaround for #788
Markus Triska [Thu, 4 Feb 2021 19:48:09 +0000 (20:48 +0100)]
preliminary workaround for #788
This change can be reverted once the issue is resolved.
Mark Thom [Wed, 3 Feb 2021 23:47:04 +0000 (16:47 -0700)]
respect module context in expand_module_names (#788)
Mark Thom [Wed, 3 Feb 2021 23:38:44 +0000 (16:38 -0700)]
resolve calls to tranpose_ and same_length in lists.pl (#790)
Mark Thom [Wed, 3 Feb 2021 23:03:12 +0000 (16:03 -0700)]
introduce cuts over indexed (:)/2 of dcgs:phrase_/3 (#786)
Mark Thom [Wed, 3 Feb 2021 22:51:15 +0000 (15:51 -0700)]
Merge pull request #787 from triska/rebis-dev
add meta_predicate declaration for with_local_attributes/3
Markus Triska [Wed, 3 Feb 2021 22:49:28 +0000 (23:49 +0100)]
add meta_predicate declaration for must_succeed/1
Mark Thom [Wed, 3 Feb 2021 22:48:09 +0000 (15:48 -0700)]
enable phrase_ rules for module resolved grammars (#785)
Markus Triska [Wed, 3 Feb 2021 22:45:06 +0000 (23:45 +0100)]
add meta_predicate declaration for with_local_attributes/3
This is needed for all_distinct/1 etc.
Example:
?- all_distinct([X,Y,Z]).
clpz:all_distinct([X,Y,Z])
; false.
Mark Thom [Wed, 3 Feb 2021 22:37:16 +0000 (15:37 -0700)]
manually expand module names in higher-order predicates of lists.pl and give call_residue_vars/2 a meta-predicate definition
Markus Triska [Fri, 8 Jan 2021 16:28:29 +0000 (17:28 +0100)]
Use term expansion for generated predicates.
Mark Thom [Wed, 3 Feb 2021 22:18:38 +0000 (15:18 -0700)]
restore cut after dcg_constr check (#784)
Mark Thom [Wed, 3 Feb 2021 19:46:33 +0000 (12:46 -0700)]
add meta-predicate declarations to reif library
Mark Thom [Wed, 3 Feb 2021 19:00:00 +0000 (12:00 -0700)]
Merge branch 'master' into rebis-dev
Mark Thom [Wed, 3 Feb 2021 18:19:33 +0000 (11:19 -0700)]
restore prolog_parser test files (#782)
Mark Thom [Wed, 3 Feb 2021 18:11:22 +0000 (11:11 -0700)]
do not traverse data structures when binding to local variables in unify_with_occurs_check (#781)
Mark Thom [Wed, 3 Feb 2021 08:22:13 +0000 (01:22 -0700)]
use find_inner_choice_instr when appending an indexed clause to an indexed subsequence
Mark Thom [Wed, 3 Feb 2021 04:47:59 +0000 (21:47 -0700)]
expand attributed variable goals
Mark Thom [Wed, 3 Feb 2021 04:03:15 +0000 (21:03 -0700)]
replace Char '!' with QueryTerm::BlockedCut
Mark Thom [Wed, 3 Feb 2021 00:42:43 +0000 (17:42 -0700)]
set target_pos' clause_start correctly in append_compiled_clause
Mark Thom [Wed, 3 Feb 2021 00:56:26 +0000 (17:56 -0700)]
Merge pull request #774 from brightly-salty/re-add-prolog_parser
Add prolog_parser to scryer_prolog
Caden Haustein [Wed, 3 Feb 2021 00:35:41 +0000 (18:35 -0600)]
Add prolog_parser
Mark Thom [Tue, 2 Feb 2021 22:43:52 +0000 (15:43 -0700)]
export loader's public predicates from builtins, handle module resolution from DCGs
Mark Thom [Tue, 2 Feb 2021 22:03:14 +0000 (15:03 -0700)]
add built_in to predicate_property
Mark Thom [Tue, 2 Feb 2021 02:26:50 +0000 (19:26 -0700)]
add meta-predicate declarations before their definitions
Mark Thom [Mon, 1 Feb 2021 23:50:05 +0000 (16:50 -0700)]
move term expansion logic entirely into loader.pl
Mark Thom [Mon, 1 Feb 2021 23:09:19 +0000 (16:09 -0700)]
add module scoping to predicate_property, expand subgoals in module resolved predicates
Mark Thom [Mon, 1 Feb 2021 21:48:13 +0000 (14:48 -0700)]
call attribute variable goals with module resolution
Mark Thom [Mon, 1 Feb 2021 01:00:10 +0000 (18:00 -0700)]
replace (:) with 0 in meta-predicate declarations, remove support for (:) in meta-predicate declarations
Mark Thom [Sun, 31 Jan 2021 19:41:18 +0000 (12:41 -0700)]
Merge branch 'master' into rebis-dev
Mark Thom [Sun, 31 Jan 2021 19:11:57 +0000 (12:11 -0700)]
Merge pull request #771 from notoria/args
Handled the empty case (#770)
Caden Haustein [Sun, 31 Jan 2021 18:43:39 +0000 (12:43 -0600)]
Fix errors, move prolog_parser
Caden Haustein [Sun, 31 Jan 2021 17:40:20 +0000 (11:40 -0600)]
Add prolog_parser to scryer_prolog
notoria [Sun, 31 Jan 2021 10:03:17 +0000 (11:03 +0100)]
Handled the empty case (#770)
Mark Thom [Sun, 31 Jan 2021 08:18:45 +0000 (01:18 -0700)]
fix bug in append_compiled_clause, generalize merging indexed subsequences of clauses
Mark Thom [Sun, 31 Jan 2021 06:37:23 +0000 (23:37 -0700)]
properly thread functors whose first subterm is a variable in thread_goals/4
Mark Thom [Sun, 31 Jan 2021 05:03:07 +0000 (22:03 -0700)]
target prolog_parser_rebis on crates.io
Mark Thom [Sun, 31 Jan 2021 04:28:45 +0000 (21:28 -0700)]
explain motive for Rebis development branch in README.md
Mark Thom [Sat, 30 Jan 2021 21:32:47 +0000 (14:32 -0700)]
move to a predicate-based module system, move to loader.[rs|pl]-based compilation, add support for incremental clause compilation
Mark Thom [Sat, 30 Jan 2021 20:55:40 +0000 (13:55 -0700)]
Merge pull request #766 from aarroyoc/http-form
HTTP Server: urlencoded forms and some syntax improvements
Mark Thom [Sat, 30 Jan 2021 20:55:05 +0000 (13:55 -0700)]
Merge pull request #769 from notoria/between
Removed redundant choicepoint from between/3
notoria [Sat, 30 Jan 2021 16:45:55 +0000 (17:45 +0100)]
Removed redundant choicepoint from between/3
Adrián Arroyo Calle [Wed, 27 Jan 2021 22:40:26 +0000 (23:40 +0100)]
Test against macOS 10.15
Adrián Arroyo Calle [Wed, 27 Jan 2021 22:34:38 +0000 (23:34 +0100)]
urlencoded forms and some syntax improvements
Mark Thom [Sat, 23 Jan 2021 20:31:02 +0000 (13:31 -0700)]
Merge pull request #762 from aarroyoc/gh-action
GitHub Actions
Adrián Arroyo Calle [Sat, 16 Jan 2021 21:32:50 +0000 (22:32 +0100)]
Fix Beta
Adrián Arroyo Calle [Sat, 16 Jan 2021 21:00:05 +0000 (22:00 +0100)]
Disable Windows
Adrián Arroyo Calle [Sat, 16 Jan 2021 18:12:53 +0000 (19:12 +0100)]
Minor fix
Adrián Arroyo Calle [Sat, 16 Jan 2021 18:11:07 +0000 (19:11 +0100)]
Delete Travis CI
Adrián Arroyo Calle [Sat, 16 Jan 2021 18:10:50 +0000 (19:10 +0100)]
GitHub Actions
Mark Thom [Tue, 29 Dec 2020 21:43:30 +0000 (14:43 -0700)]
Merge pull request #747 from triska/determinism
reflect better determinism thanks to #732
Markus Triska [Tue, 29 Dec 2020 21:24:56 +0000 (22:24 +0100)]
reflect better determinism thanks to #732
Mark Thom [Tue, 29 Dec 2020 20:07:59 +0000 (13:07 -0700)]
Merge pull request #726 from aarroyoc/http-server
HTTP Server
Adrián Arroyo Calle [Mon, 28 Dec 2020 21:55:32 +0000 (22:55 +0100)]
PR feedback
Adrián Arroyo Calle [Mon, 28 Dec 2020 13:42:20 +0000 (14:42 +0100)]
URL Decode
Adrián Arroyo Calle [Sun, 27 Dec 2020 21:36:24 +0000 (22:36 +0100)]
Log time
Adrián Arroyo Calle [Sun, 27 Dec 2020 19:14:21 +0000 (20:14 +0100)]
Improve docs & Route matching
Adrián Arroyo Calle [Sun, 27 Dec 2020 13:48:05 +0000 (14:48 +0100)]
File response
Adrián Arroyo Calle [Sun, 27 Dec 2020 13:11:09 +0000 (14:11 +0100)]
Use phrase instead of forall
Adrián Arroyo Calle [Sun, 27 Dec 2020 12:23:38 +0000 (13:23 +0100)]
Queries
Adrián Arroyo Calle [Sun, 27 Dec 2020 11:18:05 +0000 (12:18 +0100)]
Merge branch 'master' into http-server
Adrián Arroyo Calle [Sun, 27 Dec 2020 11:16:46 +0000 (12:16 +0100)]
Redirections, default status code, rout matching 1.0
Mark Thom [Sun, 27 Dec 2020 05:35:28 +0000 (22:35 -0700)]
fix bug in code walker causing entire clauses to be skipped (#736)
Mark Thom [Wed, 23 Dec 2020 20:22:02 +0000 (13:22 -0700)]
Merge pull request #743 from triska/determinism
reflect determinism improvement thanks to the latest changes
Markus Triska [Wed, 23 Dec 2020 17:06:35 +0000 (18:06 +0100)]
reflect determinism improvement thanks to the latest changes
Mark Thom [Wed, 23 Dec 2020 02:18:46 +0000 (19:18 -0700)]
Merge pull request #741 from triska/determinism
reflect improved determinism thanks to the improvements by @notoria
Markus Triska [Tue, 22 Dec 2020 22:55:40 +0000 (23:55 +0100)]
reflect improved determinism thanks to the improvements by @notoria
Mark Thom [Tue, 22 Dec 2020 22:39:17 +0000 (15:39 -0700)]
Merge pull request #740 from triska/indexing
small documentation improvements related to the new indexing strategy
Mark Thom [Tue, 22 Dec 2020 21:51:56 +0000 (14:51 -0700)]
Merge pull request #734 from triska/deterministic_format
ENHANCED: format_//2, format/[2,3], portray_clause/1 are now deterministic
Mark Thom [Tue, 22 Dec 2020 21:51:10 +0000 (14:51 -0700)]
Merge pull request #732 from notoria/indexing
Implemented a different way to index clauses
Markus Triska [Tue, 22 Dec 2020 20:59:11 +0000 (21:59 +0100)]
small documentation improvements related to the new indexing strategy
notoria [Mon, 21 Dec 2020 19:05:45 +0000 (20:05 +0100)]
Renamed find_optimal_index to first_instantiated_index
notoria [Mon, 21 Dec 2020 19:02:22 +0000 (20:02 +0100)]
Merge pull request #6 from triska/indexing
document first instantiated argument indexing
Markus Triska [Mon, 21 Dec 2020 18:55:15 +0000 (19:55 +0100)]
document first instantiated argument indexing
Many thanks to @notoria for this brilliant idea and implementation!
notoria [Mon, 21 Dec 2020 11:19:21 +0000 (12:19 +0100)]
Organized changes into find_optimal_index
Adrián Arroyo Calle [Sun, 20 Dec 2020 23:15:00 +0000 (00:15 +0100)]
HTTP Body
notoria [Sat, 19 Dec 2020 20:04:17 +0000 (21:04 +0100)]
Simplified the code, removed first_arg, the Option
Markus Triska [Sat, 19 Dec 2020 17:07:43 +0000 (18:07 +0100)]
ENHANCED: format_//2, format/[2,3], portray_clause/1 are now deterministic.
This works as soon as #732 is merged, since then maplist/N and foldl/N
are deterministic in the required cases.
This also resolves the extra choicepoint of time/1 (see #378).
Many thanks to @notoria for implementing better indexing in #732,
which allowed me to find this opportunity for improvement!
notoria [Sat, 19 Dec 2020 13:52:38 +0000 (14:52 +0100)]
Implemented a different way to index clauses
Mark Thom [Tue, 15 Dec 2020 17:04:46 +0000 (10:04 -0700)]
Merge pull request #729 from brightly-salty/replace-dirs
Replace dirs with dirs-next
brightly-salty [Tue, 15 Dec 2020 12:59:26 +0000 (06:59 -0600)]
Replace dirs with dirs-next
Adrián Arroyo Calle [Mon, 14 Dec 2020 21:57:53 +0000 (22:57 +0100)]
Read body
Adrián Arroyo Calle [Sat, 12 Dec 2020 20:28:33 +0000 (21:28 +0100)]
Request and Response headers