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:1.1.118
SHA1 sum:4f172bc6d4709971fd6fa30ad4102239ecd60f36
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

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.0K bytes.