]> Repositorios git - scryer-prolog.git/log
scryer-prolog.git
5 years agointroduce cuts over indexed (:)/2 of dcgs:phrase_/3 (#786)
Mark Thom [Wed, 3 Feb 2021 23:03:12 +0000 (16:03 -0700)]
introduce cuts over indexed (:)/2 of dcgs:phrase_/3 (#786)

5 years agoMerge pull request #787 from triska/rebis-dev
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

5 years agoadd meta_predicate declaration for must_succeed/1
Markus Triska [Wed, 3 Feb 2021 22:49:28 +0000 (23:49 +0100)]
add meta_predicate declaration for must_succeed/1

5 years agoenable phrase_ rules for module resolved grammars (#785)
Mark Thom [Wed, 3 Feb 2021 22:48:09 +0000 (15:48 -0700)]
enable phrase_ rules for module resolved grammars (#785)

5 years agoadd meta_predicate declaration for with_local_attributes/3
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.

5 years agomanually expand module names in higher-order predicates of lists.pl and give call_res...
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

5 years agoUse term expansion for generated predicates.
Markus Triska [Fri, 8 Jan 2021 16:28:29 +0000 (17:28 +0100)]
Use term expansion for generated predicates.

5 years agorestore cut after dcg_constr check (#784)
Mark Thom [Wed, 3 Feb 2021 22:18:38 +0000 (15:18 -0700)]
restore cut after dcg_constr check (#784)

5 years agoadd meta-predicate declarations to reif library
Mark Thom [Wed, 3 Feb 2021 19:46:33 +0000 (12:46 -0700)]
add meta-predicate declarations to reif library

5 years agoMerge branch 'master' into rebis-dev
Mark Thom [Wed, 3 Feb 2021 19:00:00 +0000 (12:00 -0700)]
Merge branch 'master' into rebis-dev

5 years agorestore prolog_parser test files (#782)
Mark Thom [Wed, 3 Feb 2021 18:19:33 +0000 (11:19 -0700)]
restore prolog_parser test files (#782)

5 years agodo not traverse data structures when binding to local variables in unify_with_occurs_...
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)

5 years agouse find_inner_choice_instr when appending an indexed clause to an indexed subsequence
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

5 years agoexpand attributed variable goals
Mark Thom [Wed, 3 Feb 2021 04:47:59 +0000 (21:47 -0700)]
expand attributed variable goals

5 years agoreplace Char '!' with QueryTerm::BlockedCut
Mark Thom [Wed, 3 Feb 2021 04:03:15 +0000 (21:03 -0700)]
replace Char '!' with QueryTerm::BlockedCut

5 years agoset target_pos' clause_start correctly in append_compiled_clause
Mark Thom [Wed, 3 Feb 2021 00:42:43 +0000 (17:42 -0700)]
set target_pos' clause_start correctly in append_compiled_clause

5 years agoMerge pull request #774 from brightly-salty/re-add-prolog_parser
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

5 years agoAdd prolog_parser
Caden Haustein [Wed, 3 Feb 2021 00:35:41 +0000 (18:35 -0600)]
Add prolog_parser

5 years agoexport loader's public predicates from builtins, handle module resolution from DCGs
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

5 years agoadd built_in to predicate_property
Mark Thom [Tue, 2 Feb 2021 22:03:14 +0000 (15:03 -0700)]
add built_in to predicate_property

5 years agoadd meta-predicate declarations before their definitions
Mark Thom [Tue, 2 Feb 2021 02:26:50 +0000 (19:26 -0700)]
add meta-predicate declarations before their definitions

5 years agomove term expansion logic entirely into loader.pl
Mark Thom [Mon, 1 Feb 2021 23:50:05 +0000 (16:50 -0700)]
move term expansion logic entirely into loader.pl

5 years agoadd module scoping to predicate_property, expand subgoals in module resolved predicates
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

5 years agocall attribute variable goals with module resolution
Mark Thom [Mon, 1 Feb 2021 21:48:13 +0000 (14:48 -0700)]
call attribute variable goals with module resolution

5 years agoreplace (:) with 0 in meta-predicate declarations, remove support for (:) in meta...
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

5 years agoMerge branch 'master' into rebis-dev
Mark Thom [Sun, 31 Jan 2021 19:41:18 +0000 (12:41 -0700)]
Merge branch 'master' into rebis-dev

5 years agoMerge pull request #771 from notoria/args
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)

5 years agoFix errors, move prolog_parser
Caden Haustein [Sun, 31 Jan 2021 18:43:39 +0000 (12:43 -0600)]
Fix errors, move prolog_parser

5 years agoAdd prolog_parser to scryer_prolog
Caden Haustein [Sun, 31 Jan 2021 17:40:20 +0000 (11:40 -0600)]
Add prolog_parser to scryer_prolog

5 years agoHandled the empty case (#770)
notoria [Sun, 31 Jan 2021 10:03:17 +0000 (11:03 +0100)]
Handled the empty case (#770)

5 years agofix bug in append_compiled_clause, generalize merging indexed subsequences of clauses
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

5 years agoproperly thread functors whose first subterm is a variable in thread_goals/4
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

5 years agotarget prolog_parser_rebis on crates.io
Mark Thom [Sun, 31 Jan 2021 05:03:07 +0000 (22:03 -0700)]
target prolog_parser_rebis on crates.io

5 years agoexplain motive for Rebis development branch in README.md
Mark Thom [Sun, 31 Jan 2021 04:28:45 +0000 (21:28 -0700)]
explain motive for Rebis development branch in README.md

5 years agomove to a predicate-based module system, move to loader.[rs|pl]-based compilation...
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

5 years agoMerge pull request #766 from aarroyoc/http-form
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

5 years agoMerge pull request #769 from notoria/between
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

5 years agoRemoved redundant choicepoint from between/3
notoria [Sat, 30 Jan 2021 16:45:55 +0000 (17:45 +0100)]
Removed redundant choicepoint from between/3

5 years agoTest against macOS 10.15
Adrián Arroyo Calle [Wed, 27 Jan 2021 22:40:26 +0000 (23:40 +0100)]
Test against macOS 10.15

5 years agourlencoded forms and some syntax improvements
Adrián Arroyo Calle [Wed, 27 Jan 2021 22:34:38 +0000 (23:34 +0100)]
urlencoded forms and some syntax improvements

5 years agoMerge pull request #762 from aarroyoc/gh-action
Mark Thom [Sat, 23 Jan 2021 20:31:02 +0000 (13:31 -0700)]
Merge pull request #762 from aarroyoc/gh-action

GitHub Actions

5 years agoFix Beta
Adrián Arroyo Calle [Sat, 16 Jan 2021 21:32:50 +0000 (22:32 +0100)]
Fix Beta

5 years agoDisable Windows
Adrián Arroyo Calle [Sat, 16 Jan 2021 21:00:05 +0000 (22:00 +0100)]
Disable Windows

5 years agoMinor fix
Adrián Arroyo Calle [Sat, 16 Jan 2021 18:12:53 +0000 (19:12 +0100)]
Minor fix

5 years agoDelete Travis CI
Adrián Arroyo Calle [Sat, 16 Jan 2021 18:11:07 +0000 (19:11 +0100)]
Delete Travis CI

5 years agoGitHub Actions
Adrián Arroyo Calle [Sat, 16 Jan 2021 18:10:50 +0000 (19:10 +0100)]
GitHub Actions

5 years agoMerge pull request #747 from triska/determinism
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

5 years agoreflect better determinism thanks to #732
Markus Triska [Tue, 29 Dec 2020 21:24:56 +0000 (22:24 +0100)]
reflect better determinism thanks to #732

5 years agoMerge pull request #726 from aarroyoc/http-server
Mark Thom [Tue, 29 Dec 2020 20:07:59 +0000 (13:07 -0700)]
Merge pull request #726 from aarroyoc/http-server

HTTP Server

5 years agoPR feedback
Adrián Arroyo Calle [Mon, 28 Dec 2020 21:55:32 +0000 (22:55 +0100)]
PR feedback

5 years agoURL Decode
Adrián Arroyo Calle [Mon, 28 Dec 2020 13:42:20 +0000 (14:42 +0100)]
URL Decode

5 years agoLog time
Adrián Arroyo Calle [Sun, 27 Dec 2020 21:36:24 +0000 (22:36 +0100)]
Log time

5 years agoImprove docs & Route matching
Adrián Arroyo Calle [Sun, 27 Dec 2020 19:14:21 +0000 (20:14 +0100)]
Improve docs & Route matching

5 years agoFile response
Adrián Arroyo Calle [Sun, 27 Dec 2020 13:48:05 +0000 (14:48 +0100)]
File response

5 years agoUse phrase instead of forall
Adrián Arroyo Calle [Sun, 27 Dec 2020 13:11:09 +0000 (14:11 +0100)]
Use phrase instead of forall

5 years agoQueries
Adrián Arroyo Calle [Sun, 27 Dec 2020 12:23:38 +0000 (13:23 +0100)]
Queries

5 years agoMerge branch 'master' into http-server
Adrián Arroyo Calle [Sun, 27 Dec 2020 11:18:05 +0000 (12:18 +0100)]
Merge branch 'master' into http-server

5 years agoRedirections, default status code, rout matching 1.0
Adrián Arroyo Calle [Sun, 27 Dec 2020 11:16:46 +0000 (12:16 +0100)]
Redirections, default status code, rout matching 1.0

5 years agofix bug in code walker causing entire clauses to be skipped (#736)
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)

5 years agoMerge pull request #743 from triska/determinism
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

5 years agoreflect 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

5 years agoMerge pull request #741 from triska/determinism
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

5 years agoreflect 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

5 years agoMerge pull request #740 from triska/indexing
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

5 years agoMerge pull request #734 from triska/deterministic_format
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

5 years agoMerge pull request #732 from notoria/indexing
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

5 years agosmall documentation improvements related to the new indexing strategy
Markus Triska [Tue, 22 Dec 2020 20:59:11 +0000 (21:59 +0100)]
small documentation improvements related to the new indexing strategy

5 years agoRenamed find_optimal_index to first_instantiated_index
notoria [Mon, 21 Dec 2020 19:05:45 +0000 (20:05 +0100)]
Renamed find_optimal_index to first_instantiated_index

5 years agoMerge pull request #6 from triska/indexing
notoria [Mon, 21 Dec 2020 19:02:22 +0000 (20:02 +0100)]
Merge pull request #6 from triska/indexing

document first instantiated argument indexing

5 years agodocument 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!

5 years agoOrganized changes into find_optimal_index
notoria [Mon, 21 Dec 2020 11:19:21 +0000 (12:19 +0100)]
Organized changes into find_optimal_index

5 years agoHTTP Body
Adrián Arroyo Calle [Sun, 20 Dec 2020 23:15:00 +0000 (00:15 +0100)]
HTTP Body

5 years agoSimplified the code, removed first_arg, the Option
notoria [Sat, 19 Dec 2020 20:04:17 +0000 (21:04 +0100)]
Simplified the code, removed first_arg, the Option

5 years agoENHANCED: format_//2, format/[2,3], portray_clause/1 are now deterministic.
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!

5 years agoImplemented a different way to index clauses
notoria [Sat, 19 Dec 2020 13:52:38 +0000 (14:52 +0100)]
Implemented a different way to index clauses

5 years agoMerge pull request #729 from brightly-salty/replace-dirs
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

5 years agoReplace dirs with dirs-next
brightly-salty [Tue, 15 Dec 2020 12:59:26 +0000 (06:59 -0600)]
Replace dirs with dirs-next

5 years agoRead body
Adrián Arroyo Calle [Mon, 14 Dec 2020 21:57:53 +0000 (22:57 +0100)]
Read body

5 years agoRequest and Response headers
Adrián Arroyo Calle [Sat, 12 Dec 2020 20:28:33 +0000 (21:28 +0100)]
Request and Response headers

5 years agoWIP http_server
Adrián Arroyo Calle [Wed, 9 Dec 2020 22:40:00 +0000 (23:40 +0100)]
WIP http_server

5 years agoMerge pull request #722 from aarroyoc/history-file
Mark Thom [Sun, 6 Dec 2020 22:50:52 +0000 (15:50 -0700)]
Merge pull request #722 from aarroyoc/history-file

History file support (Rustyline 7.0) (#152)

5 years agoMerge pull request #720 from aarroyoc/max-min-list
Mark Thom [Sun, 6 Dec 2020 22:39:42 +0000 (15:39 -0700)]
Merge pull request #720 from aarroyoc/max-min-list

Add list_max & list_min to lists module

5 years agoHistory file support (Rustyline 7.0)
Adrián Arroyo Calle [Sun, 6 Dec 2020 22:16:25 +0000 (23:16 +0100)]
History file support (Rustyline 7.0)

5 years agoChange name to list_max, list_min as PR feedback
Adrián Arroyo Calle [Sun, 6 Dec 2020 20:58:37 +0000 (21:58 +0100)]
Change name to list_max, list_min as PR feedback

5 years agoUse foldl as PR feedback suggested
Adrián Arroyo Calle [Sun, 6 Dec 2020 16:31:42 +0000 (17:31 +0100)]
Use foldl as PR feedback suggested

5 years agoAdd max_list & min_list to lists
Adrián Arroyo Calle [Sat, 5 Dec 2020 13:20:50 +0000 (14:20 +0100)]
Add max_list & min_list to lists

5 years agoMerge pull request #710 from triska/clpz-reif
Mark Thom [Sun, 8 Nov 2020 21:40:32 +0000 (14:40 -0700)]
Merge pull request #710 from triska/clpz-reif

ADDED: Provisional support for (#=)/3 and (#<)/3.

5 years agoADDED: Provisional support for (#=)/3 and (#<)/3.
Markus Triska [Sun, 8 Nov 2020 08:25:56 +0000 (09:25 +0100)]
ADDED: Provisional support for (#=)/3 and (#<)/3.

These predicates are intended for constructs from library(reif), such
as if_/3. For the time being, they are defined here. If you have any
recommendations or comments regarding the best location of these
predicates, or need more of them, please file an issue.

Suggested by @Qqwy in https://github.com/triska/clpz/issues/12.

Many thanks!

5 years agosupport number/1
Mark Thom [Wed, 4 Nov 2020 06:38:55 +0000 (23:38 -0700)]
support number/1

5 years agoMerge branch 'master' of https://github.com/mthom/rusty-wam into master
Mark Thom [Thu, 22 Oct 2020 06:24:30 +0000 (00:24 -0600)]
Merge branch 'master' of https://github.com/mthom/rusty-wam into master

5 years agoMerge pull request #706 from malbarbo/fix-num
Mark Thom [Wed, 21 Oct 2020 03:43:03 +0000 (21:43 -0600)]
Merge pull request #706 from malbarbo/fix-num

Fix build with num features

5 years agoMerge branch 'master' of https://github.com/mthom/rusty-wam into master
Mark Thom [Tue, 20 Oct 2020 21:25:38 +0000 (15:25 -0600)]
Merge branch 'master' of https://github.com/mthom/rusty-wam into master

5 years agoUpdate num-rug-adapter to fix build with num feature.
Marco A L Barbosa [Sun, 18 Oct 2020 22:20:05 +0000 (19:20 -0300)]
Update num-rug-adapter to fix build with num feature.

5 years agoMerge pull request #702 from triska/showterm
Mark Thom [Sat, 3 Oct 2020 18:20:02 +0000 (12:20 -0600)]
Merge pull request #702 from triska/showterm

Add showterm.el and showterm.pl to the distribution

5 years agouse "r" interactive specifier
Markus Triska [Sat, 3 Oct 2020 15:13:17 +0000 (17:13 +0200)]
use "r" interactive specifier

5 years agorefer to new tools directory
Markus Triska [Sat, 3 Oct 2020 07:59:31 +0000 (09:59 +0200)]
refer to new tools directory

5 years agoADDED: showterm.el and showterm.pl to draw terms as trees in Emacs
Markus Triska [Sat, 3 Oct 2020 07:52:46 +0000 (09:52 +0200)]
ADDED: showterm.el and showterm.pl to draw terms as trees in Emacs

5 years agoMerge pull request #700 from triska/development_environment
Mark Thom [Thu, 1 Oct 2020 19:41:52 +0000 (13:41 -0600)]
Merge pull request #700 from triska/development_environment

DOC: Development environment recommendations.

5 years agoDOC: Development environment recommendations.
Markus Triska [Thu, 1 Oct 2020 19:15:40 +0000 (21:15 +0200)]
DOC: Development environment recommendations.

5 years agoMerge branch 'master' of https://github.com/mthom/rusty-wam into master
Mark Thom [Mon, 14 Sep 2020 16:46:11 +0000 (10:46 -0600)]
Merge branch 'master' of https://github.com/mthom/rusty-wam into master