Alex (or anyone),

What's the best way to handle Definite Clause Grammar syntax in pilog? 

"Definite Clause Grammar (DCG) and Prolog supports a special rule syntax for 
writing DCGs. The syntax is simpler, much closer to the syntax one uses in 
writing context-free grammar rules. When using the DCG syntax, the programmer 
doesn't have to write all the string variables threaded through the nonterminal 
procedure calls..."

So, I'm hoping for some pilog rules or a macro maybe that can handle the --> 
(or equivalent) of DCG in pilog :-) 




Reply via email to