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..." http://www.cs.sunysb.edu/~warren/xsbbook/node10.html http://www.csupomona.edu/~jrfisher/www/prolog_tutorial/7_1.html etc. So, I'm hoping for some pilog rules or a macro maybe that can handle the --> (or equivalent) of DCG in pilog :-) Cheers, Doug -- UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe
