Dear Troy
On Wed, Apr 8, 2009 at 1:03 PM, Troy Taillefer <
ironwaist29@...> wrote:
>
> 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
>
You mean 5.1.3 or 5.1.4?
> 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.
>
Good point. What is the name of the SWI predicate that does that?
> Thanks.
>
> Troy
>
Sorry for the delay!
Vitor
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects_______________________________________________
Yap-users mailing list
Yap-users@...
https://lists.sourceforge.net/lists/listinfo/yap-users