* Re: [Caml-list] ocamlyacc: f - maximum table size exceeded
[not found] <CC62E8B84E918E438D0BA094D9AF417903D5E6D1@MSPM1BMSGM12.ent.core.medtronic.com>
@ 2005-03-16 19:39 ` Tom Hawkins
0 siblings, 0 replies; only message in thread
From: Tom Hawkins @ 2005-03-16 19:39 UTC (permalink / raw)
To: caml-list
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
>
>
>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-03-16 19:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CC62E8B84E918E438D0BA094D9AF417903D5E6D1@MSPM1BMSGM12.ent.core.medtronic.com>
2005-03-16 19:39 ` [Caml-list] ocamlyacc: f - maximum table size exceeded Tom Hawkins
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).