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
[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: -- (:)
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

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 Archives:
Bug reports: FAQ:
Beginner's list: