Browse thread
menhir
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Jon Harrop <jon@f...> |
| Subject: | Re: [Caml-list] menhir |
On Saturday 28 April 2007 20:47, Markus Mottl wrote: > I think it wouldn't be difficult to update the compiler to use more > efficient data structures, but it would certainly be a hell lot of > work... I've had a quick look at this before. Some of our compiler compilers were causing ocamlopt to stack overflow and the problem turned out to be a pair of mutually recursive functions in different modules of the type checkers that were not tail recursive. I couldn't see an easy solution without rewriting the whole thing in CPS. Perhaps a program to convert OCaml code into CPS style would be useful? -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. The F#.NET Journal http://www.ffconsultancy.com/products/fsharp_journal/?e