Hi Doug,
> Might be something to consider adding to pilog.l Seems to be fairly
> standard in prologs - and useful for creating parsers :-)
OK, so let's see how it works out. Should perhaps be put into the
add-ons.
To make such rule declarations easier in the future, I've added a new
'clause' fu
THANK YOU!
I haven't tested that yet but I think that is exactly what I was looking for
there. Might be something to consider adding to pilog.l Seems to be fairly
standard in prologs - and useful for creating parsers :-)
Beautiful code, thanks again so much!
Cheers,
Doug
--- On Wed,
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
http://en.wikipedia.org/wiki/Defini