Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: [Caml-list] ocamlyacc: f - maximum table size exceeded
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Tom Hawkins <tom@c...>
Subject: Re: [Caml-list] ocamlyacc: f - maximum table size exceeded
It looks like bison had these same restrictions a few versions back.

I did a search-and-replace on all the source code in yacc/, replacing 
"short" with "int", and increased MAXTABLE in defs.h.  A dangerous hack, 
but it seemed to work.

Are there any plans to update ocamlyacc (such as writing an OCaml 
implementation), or to build an OCaml generator for bison?

-Tom



Hawkins, Thomas wrote:
> 
> 
> -----Original Message-----
> From: caml-list-admin@yquem.inria.fr
> [mailto:caml-list-admin@yquem.inria.fr]On Behalf Of Hawkins, Thomas
> Sent: Tuesday, March 15, 2005 6:36 PM
> To: caml-list@inria.fr
> Subject: [Caml-list] ocamlyacc: f - maximum table size exceeded
> 
> 
> Hello,
> 
> I'm building a parser for a sizable lanuguage and ocamlyacc is producing the following error:
> 
>   ocamlyacc: f - maximum table size exceeded
> 
> What are the limitations of ocamlyacc?  The documentation mentions limits with ocamllex but not ocamlyacc.
> 
> How do I tell how close I am to the maximum table size?  And are there any -use_larger_table switches?
> 
> Thanks!
> 
> -Tom
> 
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
> 
> 
>