* [Caml-list] [ANN] The OCaml interactive toplevel in your Web browser
@ 2011-04-04 12:59 Jerome Vouillon
2011-04-04 16:17 ` Andrew
2011-04-04 20:07 ` Eric Cooper
0 siblings, 2 replies; 4+ messages in thread
From: Jerome Vouillon @ 2011-04-04 12:59 UTC (permalink / raw)
To: caml-list
You can now try the OCaml toplevel online:
http://ocsigen.org/js_of_ocaml/toplevel/
Your code is executed in the Web browser, not on some remote server.
Technically, the OCaml toplevel and the Js_of_ocaml compiler have been
put together in a single OCaml program, which has then been compiled
to Javascript. The source code is currently available in the darcs
repository of the Js_of_ocaml compiler.
More information regarding the compiler:
http://ocsigen.org/js_of_ocaml/
Get the source code:
darcs get http://ocsigen.org/darcs/js_of_ocaml/
Contributions (syntax highlighting, history, ...) are welcome!
--
Jerome Vouillon
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Caml-list] [ANN] The OCaml interactive toplevel in your Web browser
2011-04-04 12:59 [Caml-list] [ANN] The OCaml interactive toplevel in your Web browser Jerome Vouillon
@ 2011-04-04 16:17 ` Andrew
2011-04-04 20:07 ` Eric Cooper
1 sibling, 0 replies; 4+ messages in thread
From: Andrew @ 2011-04-04 16:17 UTC (permalink / raw)
To: Jerome Vouillon; +Cc: caml-list
On Apr. 04, 2011, Jerome Vouillon <vouillon@pps.jussieu.fr> wrote:
>
> You can now try the OCaml toplevel online: (...)
> Your code is executed in the Web browser, not on some remote server.
Awesome! Congratulations.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Caml-list] [ANN] The OCaml interactive toplevel in your Web browser
2011-04-04 12:59 [Caml-list] [ANN] The OCaml interactive toplevel in your Web browser Jerome Vouillon
2011-04-04 16:17 ` Andrew
@ 2011-04-04 20:07 ` Eric Cooper
2011-04-05 9:40 ` Jerome Vouillon
1 sibling, 1 reply; 4+ messages in thread
From: Eric Cooper @ 2011-04-04 20:07 UTC (permalink / raw)
To: caml-list
On Mon, Apr 04, 2011 at 02:59:59PM +0200, Jerome Vouillon wrote:
> Technically, the OCaml toplevel and the Js_of_ocaml compiler have been
> put together in a single OCaml program, which has then been compiled
> to Javascript. The source code is currently available in the darcs
> repository of the Js_of_ocaml compiler.
Very nice. I notice that (=) is defined on functional values in your
implementation, whereas it raises an exception in the traditional
toplevel.
--
Eric Cooper e c c @ c m u . e d u
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Caml-list] [ANN] The OCaml interactive toplevel in your Web browser
2011-04-04 20:07 ` Eric Cooper
@ 2011-04-05 9:40 ` Jerome Vouillon
0 siblings, 0 replies; 4+ messages in thread
From: Jerome Vouillon @ 2011-04-05 9:40 UTC (permalink / raw)
To: caml-list
On Mon, Apr 04, 2011 at 04:07:08PM -0400, Eric Cooper wrote:
> On Mon, Apr 04, 2011 at 02:59:59PM +0200, Jerome Vouillon wrote:
> > Technically, the OCaml toplevel and the Js_of_ocaml compiler have been
> > put together in a single OCaml program, which has then been compiled
> > to Javascript. The source code is currently available in the darcs
> > repository of the Js_of_ocaml compiler.
>
> Very nice. I notice that (=) is defined on functional values in your
> implementation, whereas it raises an exception in the traditional
> toplevel.
Indeed, the generic comparison function does not check for functional
values. Thus, the (implementation-dependent) string representations of
the functions end up to be compared.
-- Jerome
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-04-05 9:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-04 12:59 [Caml-list] [ANN] The OCaml interactive toplevel in your Web browser Jerome Vouillon
2011-04-04 16:17 ` Andrew
2011-04-04 20:07 ` Eric Cooper
2011-04-05 9:40 ` Jerome Vouillon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox