Did you know ... Search Documentation:
Packs (add-ons) for SWI-Prolog

Package "multimodal_dcg"

Title:Reduce floundering of DCGs by constraining and narrowing search
Rating:Not rated. Create the first rating!
Latest version:2.0.3
SHA1 sum:5c56198284e6ae3995de564bba5bf7130cc037bb
Author:Douglas Miles http://www.linkedin.com/in/logicmoo
Maintainer:TeamSPoon https://github.com/TeamSPoon/
Packager:TeamSPoon/LogicMoo https://github.com/TeamSPoon/
Home page:https://github.com/TeamSPoon/multimodal_dcg
Download URL:https://github.com/TeamSPoon/multimodal_dcg/release/*.zip
Requires:logicmoo_utils

Reviews

No reviews. Create the first review!.

Details by download location

VersionSHA1#DownloadsURL
1.1.112d6f35c003e3a13849894232e7e72d8efbb1bcaaf1https://github.com/TeamSPoon/multimodal_dcg.git
1.1.115dbd7e6e063786cc2be9f1118e36e00e045e6fe4d1https://github.com/TeamSPoon/multimodal_dcg.git
1.1.11758944cd6e291d9317bf0213221956c4a2057c3871https://github.com/TeamSPoon/multimodal_dcg.git
1.1.1184f172bc6d4709971fd6fa30ad4102239ecd60f361https://github.com/TeamSPoon/multimodal_dcg.git
5873a607451c8c74b0d2af85136e3023b67312282https://github.com/TeamSPoon/multimodal_dcg.git
1.2.1116ccca190683cf2459e0aa52fbf4c9d74374ed48515https://github.com/TeamSPoon/multimodal_dcg.git
1.4.11139439c64785a92065ad73d9739ba23c38ede1a474https://github.com/TeamSPoon/multimodal_dcg.git
2.0.1749467f4a7bb45e3c9b616590fe9be855b24160d1https://github.com/TeamSPoon/multimodal_dcg.git
2.0.35c56198284e6ae3995de564bba5bf7130cc037bb11https://github.com/TeamSPoon/multimodal_dcg.git

multimodal_dcg

Reduce floundering of DCGs by constraining and narrowing search


 :- pack_install('https://github.com/TeamSPoon/multimodal_dcg.git').

:- use_module(library(multimodal_dcg)).


predicate_named(Pred) --> dcgAnd(theText(Text),dcgLenBetween(1,5)).

:- must(dcgAnd(dcgLenBetween(5,1),theText(_Text),[a,b,c],[])).
:- must(predicate_named(_P,[proper,-,named],[])).

Some TODOs

Document this pack!

Write tests

Untangle the 'pack' install deps (Moving predicates over here from logicmoo_base)

Not obligated to maintain a git fork just to contribute

Dislike having tons of forks that are several commits behind the main git repo?

Be old school - Please ask to be added to TeamSPoon and Contribute directly !

Still, we wont stop you from doing it the Fork+PullRequest method

BSD 2-Clause License

Copyright (c) 2017, TeamSPoon and Douglas Miles <logicmoo@gmail.com> All rights reserved.

Contents of pack "multimodal_dcg"

Pack contains 6 files holding a total of 17.1K bytes.