Re: pilog and Definite Clause Grammar (DCG)

2011-07-20 Thread Alexander Burger
Hi Doug, What's the best way to handle Definite Clause Grammar syntax in pilog? ... So, I'm hoping for some pilog rules or a macro maybe that can handle the -- (or equivalent) of DCG in pilog :-) I don't fully understand the context or purpose, but

Re: pilog and Definite Clause Grammar (DCG)

2011-07-20 Thread Doug Snead
, 7/20/11, Alexander Burger a...@software-lab.de wrote: From: Alexander Burger a...@software-lab.de Subject: Re: pilog and Definite Clause Grammar (DCG) To: picolisp@software-lab.de Date: Wednesday, July 20, 2011, 2:20 AM Hi Doug, What's the best way to handle Definite Clause Grammar

pilog and Definite Clause Grammar (DCG)

2011-07-19 Thread Doug Snead
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