From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id QAA11743; Wed, 20 Feb 2002 16:53:23 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA10685 for ; Wed, 20 Feb 2002 16:53:22 +0100 (MET) Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g1KFrK516753 for ; Wed, 20 Feb 2002 16:53:20 +0100 (MET) Received: from clipper.ens.fr (clipper-gw.ens.fr [129.199.1.22]) by nef.ens.fr (8.10.1/1.01.28121999) with ESMTP id g1KFrGp28301 ; Wed, 20 Feb 2002 16:53:16 +0100 (CET) Received: from localhost (frisch@localhost) by clipper.ens.fr (8.9.2/jb-1.1) id QAA24188 ; Wed, 20 Feb 2002 16:53:15 +0100 (MET) Date: Wed, 20 Feb 2002 16:53:15 +0100 (MET) From: Alain Frisch To: Martin Jambon cc: Caml list Subject: Re: [Caml-list] Safe Caml for online teaching In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Wed, 20 Feb 2002, Martin Jambon wrote: > Is the following proposal completely crazy or could it be done (or both?): > > The insertion of Caml-toplevel forms in Caml online HTML manuals could be > attractive for beginners since it doesn't require the installation of Caml > on the local machine. > > This would require a strict control over the code that the user will want > to be compiled and executed on the server. > (we already discussed such things last week on the beginners' list > http://groups.yahoo.com/group/ocaml_beginners/messagesearch?query=interactive%20learning) What you describe seems to be overkill for the purpose. You could simply build a toplevel with a restricted standard library (without interaction with the OS and without unsafe operations like Obj), disabled directives, and use a wrapper to kill the toplevel when some timeout expires. What's wrong with this ? -- Alain ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners