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
How to prevent program from crashing
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-10-31 (04:29)
From: Angela Zhu <angela.zhu@c...>
Subject: How to prevent program from crashing
Dear all,

I am trying to develop a new language with GUI using OCaml.
However, the language seems to be not very stable.

If a small syntax error in the program(written in this new language)  
it can through an error message.
If the syntax error is kind of critical,
(e.g., a semi-colon is missed at the end of a line,
  or a keyword is mis-spelled)
Then the whole GUI of the language crashes.

Does anyone else have ever encountered similar problem?
Or can anyone give me a hint on how to prevent this?

Thanks a lot!
Dept. of CS, Rice Unitersity