Man, thanks for all the pilog help so far! I'm working my way down the dcg
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:
(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?