English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] Safe Caml for online teaching
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-02-20 (15:53)
From: Alain Frisch <frisch@c...>
Subject: Re: [Caml-list] Safe Caml for online teaching
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