Version française
Home     About     Download     Resources     Contact us    
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: james woodyatt <jhw@w...>
Subject: Re: [Caml-list] Safe Caml for online teaching
On Wednesday, February 20, 2002, at 07:53 , Alain Frisch wrote:
> On Wed, 20 Feb 2002, Martin Jambon wrote:
>>
>> 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.
>
> 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.

Another option is to give up on trying to make the interactive Caml book 
into a web service.  If, instead, it were a standalone web application, 
then I could download it and install it on my own local web server.  No 
changes to Caml necessary.


--
j h woodyatt <jhw@wetware.com>
"...the antidote to misinformation is more information, not less."
                                                      --vinton cerf

-------------------
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