Hi all,
I want to use Yap to do DCG parsing with left recursion I have tried
to declare a predicated tabled as follows
:- table header/2.
this gives me a syntac error is the Yap stable exe installer compiled
with --enable-tabling in the configure script or add -
DTABLING to YAP_EXTRAS in the system’s Makefile
Also I am looking for a way in Yap prolog to traverse a directory sturcture and parse all files with a given file extension anyone got any hints. I managed to do this in SWI prolog but SWI doesn't have tabling so it doesn't handling left recursive grammars with DCG, unless you use some tricks like cancellation, or left corner which makes your grammar uglier.
Thanks.
Troy
------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com_______________________________________________
Yap-users mailing list
Yap-users@...
https://lists.sourceforge.net/lists/listinfo/yap-users