caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Alain Frisch <frisch@clipper.ens.fr>
To: Martin Jambon <m.jambon@ibcp.fr>
Cc: Caml list <caml-list@inria.fr>
Subject: Re: [Caml-list] Safe Caml for online teaching
Date: Wed, 20 Feb 2002 16:53:15 +0100 (MET)	[thread overview]
Message-ID: <Pine.GSO.4.33.0202201648120.16944-100000@clipper.ens.fr> (raw)
In-Reply-To: <Pine.LNX.4.33L2.0202201448590.1320-100000@pc-bioinfo1.ibcp.fr>

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


  reply	other threads:[~2002-02-20 15:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-20 15:15 Martin Jambon
2002-02-20 15:53 ` Alain Frisch [this message]
2002-02-20 16:22   ` james woodyatt
2002-02-20 17:13     ` Martin Jambon
2002-02-20 19:16       ` Christophe Raffalli
2002-02-20 16:38   ` Martin Jambon
2002-02-20 17:35     ` Remi VANICAT
2002-02-21 10:59 ` Xavier Leroy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.GSO.4.33.0202201648120.16944-100000@clipper.ens.fr \
    --to=frisch@clipper.ens.fr \
    --cc=caml-list@inria.fr \
    --cc=m.jambon@ibcp.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).