From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=HTML_MESSAGE autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 9D4F2BC6B for ; Wed, 31 Oct 2007 05:29:30 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAKahJ0eAKs4Fnmdsb2JhbACCcotzAgEBBwQGERiBEw X-IronPort-AV: E=Sophos;i="4.21,349,1188770400"; d="scan'208,217";a="18788462" Received: from netscaler2.rice.edu (HELO mh1.mail.rice.edu) ([128.42.206.5]) by mail4-smtp-sop.national.inria.fr with ESMTP; 31 Oct 2007 05:29:26 +0100 Received: from mh1.mail.rice.edu (localhost.localdomain [127.0.0.1]) by mh1.mail.rice.edu (Postfix) with ESMTP id AE2EE3851DD for ; Tue, 30 Oct 2007 23:29:25 -0500 (CDT) X-Virus-Scanned: by amavis-2.4.4 at mh1.mail.rice.edu Received: from mh1.mail.rice.edu ([127.0.0.1]) by mh1.mail.rice.edu (mh1.mail.rice.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nzZsSzlaXhtx for ; Tue, 30 Oct 2007 23:29:25 -0500 (CDT) Received: from [10.194.94.87] (unknown [10.194.94.87]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mh1.mail.rice.edu (Postfix) with ESMTP id 859E8385111 for ; Tue, 30 Oct 2007 23:29:25 -0500 (CDT) Mime-Version: 1.0 (Apple Message framework v752.3) To: caml-list@yquem.inria.fr Message-Id: Content-Type: multipart/alternative; boundary=Apple-Mail-63-749395701 From: Angela Zhu Subject: How to prevent program from crashing Date: Tue, 30 Oct 2007 23:29:20 -0500 X-Mailer: Apple Mail (2.752.3) X-Spam: no; 0.00; ocaml:01 syntax:01 syntax:01 semi-colon:01 ocaml:01 semi-colon:01 angela:98 angela:98 seems:03 seems:03 crashes:03 crashes:03 gui:03 gui:03 zhu:04 --Apple-Mail-63-749395701 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed 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/ ------------------------------------------ --Apple-Mail-63-749395701 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1 Dear all,

I am trying to=A0develop 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,=A0
(e.g., a semi-colon is missed at the end of a = line,=A0
=A0or 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/




= --Apple-Mail-63-749395701--