Did you know ... Search Documentation:
Pack logicmoo_utils -- prolog/logicmoo/README.dcg.md

multimodal_dcg

Reduce floundering of DCGs by constraining and narrowing search


 :- pack_install('https://github.com/logicmoo/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 logicmoo and Contribute directly !

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

LICENSE.md

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