Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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)  
happens,
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!
Angela
------------------------------------------
Dept. of CS, Rice Unitersity
http://www.cs.rice.edu/~yz2/
------------------------------------------