Hi Alex,
Man, thanks for all the pilog help so far! I'm working my way down the dcg
example here
http://www.csupomona.edu/~jrfisher/www/prolog_tutorial/7_3.html
And I notice that some of the non-terminals there have arguments, for example:
c(L) --> lead_in,arrange(L),end.
Not sure how to handle that. "(dcg (c @L) ..." gives an error trying to
define it. If I try,
(dcg c (@L) lead_in (arrange @L) end)
It lets me define c, but then listing it:
(rules 'c)
(be c ((@L . @A) @A))
It appears to have lost the definition body. (I'm using the first dcg
definition given a few days ago.)
How should I handle that kind of dcg?
Cheers,
Doug
--
UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe