caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Array.make exception and parser
@ 2011-01-04 13:41 Jean Krivine
  2011-01-04 14:56 ` Daniel Bünzli
                   ` (2 more replies)
  0 siblings, 3 replies; 26+ messages in thread
From: Jean Krivine @ 2011-01-04 13:41 UTC (permalink / raw)
  To: caml users

[-- Attachment #1: Type: text/plain, Size: 509 bytes --]

Hi all,

I am encountering a weird problem, I am trying to parse a very large file
(around 1.2 GB) according to a grammar defined in ocamlyacc.
During the parsing I get the exception

Invalid_argument "Array.make".

This  is strange because I am not using any array.
My guess it that a big chunk of the file I am parsing is matching a non
terminal, something like

rule:
non_term END {blah};

where non_term is  going to be 1GB of characters. Does anyone know what
could be raising the exception ?

Thanks!
J

[-- Attachment #2: Type: text/html, Size: 585 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2011-01-05 21:13 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-04 13:41 [Caml-list] Array.make exception and parser Jean Krivine
2011-01-04 14:56 ` Daniel Bünzli
2011-01-04 14:57   ` Daniel Bünzli
2011-01-04 14:57 ` Török Edwin
2011-01-04 15:14   ` Jean Krivine
2011-01-04 15:31     ` Daniel Bünzli
2011-01-04 16:22       ` Yitzhak Mandelbaum
2011-01-04 16:42         ` Daniel Bünzli
2011-01-04 17:03           ` Yitzhak Mandelbaum
2011-01-04 17:04       ` Jean Krivine
2011-01-04 17:22         ` Daniel Bünzli
2011-01-04 15:38     ` bluestorm
2011-01-04 17:43       ` Jean Krivine
     [not found]       ` <1125074892.441923.1294163043602.JavaMail.root@zmbs2.inria.fr>
2011-01-04 17:53         ` Francois Pottier
     [not found]     ` <1259991756.440008.1294155536392.JavaMail.root@zmbs2.inria.fr>
2011-01-04 17:45       ` Francois Pottier
2011-01-04 19:30         ` Daniel Bünzli
2011-01-04 19:52           ` Yitzhak Mandelbaum
2011-01-04 20:36             ` Daniel Bünzli
     [not found]         ` <1263353434.442766.1294169448342.JavaMail.root@zmbs2.inria.fr>
2011-01-04 20:31           ` Francois Pottier
2011-01-04 20:40             ` Lukasz Stafiniak
2011-01-04 21:03               ` Török Edwin
2011-01-05  3:24                 ` Yitzhak Mandelbaum
2011-01-05 14:12             ` Boris Yakobowski
2011-01-05 21:12             ` Boris Yakobowski
2011-01-05 13:37 ` Xavier Leroy
2011-01-05 13:46   ` Jean Krivine

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).