From: "Frank A. Christoph" <christo@nextsolution.co.jp>
To: <caml-list@inria.fr>
Subject: RE: Caml toplevel thru Web (HTTP or CGI)?
Date: Fri, 11 Sep 1998 12:40:31 +0900 [thread overview]
Message-ID: <003201bddd35$ee1439b0$6f50ebca@compq4.newton> (raw)
>>> I would like to set a demo (available thru our intranet) usable
>> by anyone (people have Win95 PCs and Unix workstation). The most
>>> sexy approach would be a Ocaml (or even a tiny CAML subset)
>>> interactive toplevel interpreter thru Web (HTML forms).
>
>Great idea!! I'd love to see such a product...however, wouldn't this
>take lots of research into building a CGI / HTML front-end (or something
>similiar) then implementing the OCaml back-end? Could this turn into an
>open-source project? I'd say "yes" for both questions. Any other
>thoughts?
Open source project? I don't think it's that big a project. There are tons
of such front-ends on the web. I don't know anything about CGI, but I
imagine all you need to do, if you use a forms-based interface, is to send
the input to ocamlc, compile it, redirect the error messages back if it
fails, or the output, if it typechecks. Of course there are security
considerations.
Also, I have heard that there is an Ocaml plug-in for Netscape. So another
option is to require people to use Netscape, have them install the plug-in,
and after a request is processed, send back the bytecode instead of the
output and execute it locally. This would obviate security problems on the
server.
>>> Did anyone (ever) code such a thing?
>
>I've never heard of anything like this being out there -- but, then
>again, I'm fairly new to the OCaml world.
If you need an example, check out John Hughes' demonstration page for his
type-specializing partial evaluator:
http://www.cs.chalmers.se/~rjmh/TypedPE/README.html
I'm sure John would give you the relevant CGI code. (It's probably written
in Haskell, though.)
--FC
next reply other threads:[~1998-09-11 6:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-09-11 3:40 Frank A. Christoph [this message]
-- strict thread matches above, loose matches on Subject: below --
1998-09-11 7:13 Sven
1998-09-10 18:18 Christopher Oliver
1998-09-10 13:31 Mitchell, Brian, VBAVACO
1998-09-10 16:31 ` Adam P. Jenkins
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='003201bddd35$ee1439b0$6f50ebca@compq4.newton' \
--to=christo@nextsolution.co.jp \
--cc=caml-list@inria.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