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],[])).
Document this pack!
Write tests
Untangle the 'pack' install deps (Moving predicates over here from logicmoo_base)
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
Copyright (c) 2017, TeamSPoon and Douglas Miles [email protected] All rights reserved.