caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* ANN: ocamljs 0.3
@ 2010-08-26 21:44 Jake Donham
  2010-08-27  9:51 ` Mihamina Rakotomandimby
  2010-09-05 13:05 ` [Caml-list] " Christophe Papazian
  0 siblings, 2 replies; 7+ messages in thread
From: Jake Donham @ 2010-08-26 21:44 UTC (permalink / raw)
  To: OCaml List

Hi list,

I am happy to announce version 0.3 of ocamljs. Ocamljs is a system for
compiling OCaml to Javascript. It includes a Javascript back-end for
the OCaml compiler, as well as several support libraries, such as
bindings to the browser DOM. Ocamljs also works with orpc
(http://jaked.github.com/orpc) for RPC over HTTP, and froc
(http://jaked.github.com/froc) for functional reactive browser
programming.

Changes since version 0.2 include:

 * support for OCaml 3.11.x and 3.12.0
 * jQuery binding (contributed by Dave Benjamin)
 * full support for OCaml objects (interoperable with Javascript objects)
 * Lwt 2.x support
 * ocamllex and ocamlyacc support
 * better interoperability with Javascript
 * many small fixes and improvements

Development of ocamljs has moved from Google Code to Github; see

 * project page: <http://github.com/jaked/ocamljs>
 * documentation: <http://jaked.github.com/ocamljs>
 * downloads: <http://github.com/jaked/ocamljs/downloads>

I hope you find this work useful.

Jake


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ANN: ocamljs 0.3
  2010-08-26 21:44 ANN: ocamljs 0.3 Jake Donham
@ 2010-08-27  9:51 ` Mihamina Rakotomandimby
  2010-08-27  9:53   ` Sylvain Le Gall
  2010-08-27 14:44   ` [Caml-list] " Dario Teixeira
  2010-09-05 13:05 ` [Caml-list] " Christophe Papazian
  1 sibling, 2 replies; 7+ messages in thread
From: Mihamina Rakotomandimby @ 2010-08-27  9:51 UTC (permalink / raw)
  To: caml-list, ocsigen

> jake@donham.org :
>I am happy to announce version 0.3 of ocamljs. Ocamljs is a system for
>compiling OCaml to Javascript.

What are the differences between:
- OBrowser (http://www.pps.jussieu.fr/~canou/obrowser/tutorial/)
- Js_of_OCaml (http://ocsigen.org/js_of_ocaml/overview)
- OcamlJS

-- 

       Architecte Informatique chez Blueline/Gulfsat:
    Administration Systeme, Recherche & Developpement
                                    +261 34 56 000 19


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: ANN: ocamljs 0.3
  2010-08-27  9:51 ` Mihamina Rakotomandimby
@ 2010-08-27  9:53   ` Sylvain Le Gall
  2010-08-27 14:44   ` [Caml-list] " Dario Teixeira
  1 sibling, 0 replies; 7+ messages in thread
From: Sylvain Le Gall @ 2010-08-27  9:53 UTC (permalink / raw)
  To: caml-list

Hello,

On 27-08-2010, Mihamina Rakotomandimby <mihamina@gulfsat.mg> wrote:
>> jake@donham.org :
>>I am happy to announce version 0.3 of ocamljs. Ocamljs is a system for
>>compiling OCaml to Javascript.
>
> What are the differences between:
> - OBrowser (http://www.pps.jussieu.fr/~canou/obrowser/tutorial/)

OBrowser seems to be replaced by Js_of_OCaml

> - Js_of_OCaml (http://ocsigen.org/js_of_ocaml/overview)
> - OcamlJS

Have a look at: 
http://ambassadortothecomputers.blogspot.com/2010/08/ocamljs-03.html

Regards,
Sylvain Le Gall


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Caml-list] Re: ANN: ocamljs 0.3
  2010-08-27  9:51 ` Mihamina Rakotomandimby
  2010-08-27  9:53   ` Sylvain Le Gall
@ 2010-08-27 14:44   ` Dario Teixeira
  2010-08-27 15:38     ` bluestorm
  1 sibling, 1 reply; 7+ messages in thread
From: Dario Teixeira @ 2010-08-27 14:44 UTC (permalink / raw)
  To: caml-list, ocsigen, Mihamina Rakotomandimby

Hi,

> What are the differences between:
> - OBrowser (http://www.pps.jussieu.fr/~canou/obrowser/tutorial/)
> - Js_of_OCaml (http://ocsigen.org/js_of_ocaml/overview)
> - OcamlJS

These three projects have one goal in common -- running Ocaml code
inside a browser -- but approach it differently:

  - O'Browser implements in Javascript an interpreter of Ocaml bytecode
    (the code produced by ocamlc).

  - js_of_ocaml compiles Ocaml bytecode into Javascript.

  - ocamljs is a new backend for the Ocaml compiler that translates
    Ocaml's intermediate representation (the "lambda" representation)
    into Javascript.


Hope that clarifies things a bit,
Dario Teixeira






^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Caml-list] Re: ANN: ocamljs 0.3
  2010-08-27 14:44   ` [Caml-list] " Dario Teixeira
@ 2010-08-27 15:38     ` bluestorm
  0 siblings, 0 replies; 7+ messages in thread
From: bluestorm @ 2010-08-27 15:38 UTC (permalink / raw)
  To: Dario Teixeira; +Cc: caml-list, ocsigen, Mihamina Rakotomandimby

[-- Attachment #1: Type: text/plain, Size: 328 bytes --]

[nacl-ocaml], wich patches the ocaml compiler to produce native code
compatible with [Google Native Client] technology (verified native code for
sandboxed environments such as browsers) may also be relevant here.

 [nacl-ocaml] http://code.google.com/p/nacl-ocaml/
 [Google Native Client] http://code.google.com/p/nativeclient/

[-- Attachment #2: Type: text/html, Size: 581 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Caml-list] ANN: ocamljs 0.3
  2010-08-26 21:44 ANN: ocamljs 0.3 Jake Donham
  2010-08-27  9:51 ` Mihamina Rakotomandimby
@ 2010-09-05 13:05 ` Christophe Papazian
  2010-09-07 16:44   ` Jake Donham
  1 sibling, 1 reply; 7+ messages in thread
From: Christophe Papazian @ 2010-09-05 13:05 UTC (permalink / raw)
  To: OCaml List; +Cc: Jake Donham

Dear Jake,

I was playing with ocamljs. It's very nice to use ocaml to
produce javascript ! I have a question : in ocamljs, there is a support
for style objects. However, I do not see how to use them usefully  
because
there don't seem to have some set_style method anywhere (but I found  
the get_style).
Did I miss something ?

Thank you,

	Christophe


Le 26 août 10 à 23:44, Jake Donham a écrit :

> Hi list,
>
> I am happy to announce version 0.3 of ocamljs. Ocamljs is a system for
> compiling OCaml to Javascript. It includes a Javascript back-end for
> the OCaml compiler, as well as several support libraries, such as
> bindings to the browser DOM. Ocamljs also works with orpc
> (http://jaked.github.com/orpc) for RPC over HTTP, and froc
> (http://jaked.github.com/froc) for functional reactive browser
> programming.
>
> Changes since version 0.2 include:
>
> * support for OCaml 3.11.x and 3.12.0
> * jQuery binding (contributed by Dave Benjamin)
> * full support for OCaml objects (interoperable with Javascript  
> objects)
> * Lwt 2.x support
> * ocamllex and ocamlyacc support
> * better interoperability with Javascript
> * many small fixes and improvements
>
> Development of ocamljs has moved from Google Code to Github; see
>
> * project page: <http://github.com/jaked/ocamljs>
> * documentation: <http://jaked.github.com/ocamljs>
> * downloads: <http://github.com/jaked/ocamljs/downloads>
>
> I hope you find this work useful.
>
> Jake
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Caml-list] ANN: ocamljs 0.3
  2010-09-05 13:05 ` [Caml-list] " Christophe Papazian
@ 2010-09-07 16:44   ` Jake Donham
  0 siblings, 0 replies; 7+ messages in thread
From: Jake Donham @ 2010-09-07 16:44 UTC (permalink / raw)
  To: Christophe Papazian; +Cc: OCaml List

On Sun, Sep 5, 2010 at 6:05 AM, Christophe Papazian
<christophe.papazian@gmail.com> wrote:
> I was playing with ocamljs. It's very nice to use ocaml to
> produce javascript ! I have a question : in ocamljs, there is a support
> for style objects. However, I do not see how to use them usefully because
> there don't seem to have some set_style method anywhere (but I found the
> get_style).

Thanks for trying ocamljs. The Dom module just wraps (part of) the
browser DOM API, and in that API the style property is read-only (see
http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-htmlelementcss).
You have to set properties on the style object for an element rather
than setting the style property of the element.

Jake


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-09-07 16:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-26 21:44 ANN: ocamljs 0.3 Jake Donham
2010-08-27  9:51 ` Mihamina Rakotomandimby
2010-08-27  9:53   ` Sylvain Le Gall
2010-08-27 14:44   ` [Caml-list] " Dario Teixeira
2010-08-27 15:38     ` bluestorm
2010-09-05 13:05 ` [Caml-list] " Christophe Papazian
2010-09-07 16:44   ` Jake Donham

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