Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] parsers/lexers some more
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-09-10 (16:12)
From: Jonathan Roewen <jonathan.roewen@g...>
Subject: [Caml-list] parsers/lexers some more
Hi Again,

I'm having a problem with my native code version of my parser/lexer
combo. I've tested it in the top-level, and it works fine.

However, with my OS, the ocaml runtime causes a processor exception
(normally a bounds check error).

I'm curious: is the lexer & parser C code exactly the same for both
bytecode & native code versions? I'm finding it hard to understand why
it works in bytecode, and not in my OS.

Also, I've noticed that ocaml exceptions aren't propogated correctly
in my OS iff it's from parsing/lexing. Any insights on what could
cause that?