Hi Alex, Thank you so much - this seems to cover the wikipedia example I'll have to go back over the dcg in http://www.csupomona.edu/~jrfisher/www/prolog_tutorial/7_3.html with this latest pilog dcg and see how it works now. The terminals and non-terminals sometimes get mixed in the same rule.
Cbeers, Doug --- On Sun, 7/24/11, Alexander Burger <a...@software-lab.de> wrote: ... > The previous examples would then be: > (dcg sentence nounPhrase verbPhrase) > (dcg nounPhrase det noun) > (dcg verbPhrase verb nounPhrase) > (dcg det . the) > (dcg det . a) > (dcg noun . cat) > (dcg noun . bat) > (dcg verb . eats) ... -- UNSUBSCRIBE: mailto:email@example.com?subject=Unsubscribe