4
I Use This!
Activity Not Available

News

Analyzed 3 months ago. based on code collected 5 months ago.
Posted almost 9 years ago by Ocsigen team
We are happy to announce release 2.0 of Js_of_ocaml, the compiler from OCaml bytecode to JavaScript. A lot of efforts has been put in reducing the size of the generated JavaScript code. Much shorter variable names are used; unnecessary ... [More] whitespaces and semicolons are omitted; multiple occurrences of a same constant are shared... The runtime is minified as well. You can expect a space reduction of 15% to 20%. Recursive modules are now supported. Tail calls between mutually recursive functions are optimized (using trampolines). In particular, lexers produced by ocamllex are now properly optimized. The runtime now simulates a small filesystem (in memory), which makes it possible to use the OCaml I/O functions. The standard outputs are by default redirected to the JavaScript console, which is convenient for debugging. A larger part of the OCaml libraries are supported: bigarrays, the time-related functions of the Unix library. A number of incompatible changes have been made. In particular: JavaScript numbers are simply given type 'float' rather than type 'float Js.t'; the compiler generates "strict mode" JavaScript; therefore, 'Js.Unsafe.variable "this"' does not refer to the JavaScript global object ("window" in browsers) anymore; you can use 'Js.Unsafe.global' instead; runtime primitives are now wrapped together with the generated code in a huge function so as not to pollute the global scope. LINKS Project home page Download Changelog Get source code: git clone https://github.com/ocsigen/js_of_ocaml.git Documentation Regards, Jérôme Vouillon and Hugo Heuzard [Less]
Posted almost 9 years ago by Ocsigen team
A few weeks after Js_of_ocaml 2, we are happy to announce release 4.0 of Eliom. Eliom is a framework for writing Web sites and client-server Web applications in OCaml. It can be used to build simple Web sites as well as complex Web ... [More] applications. In the latter case, both client and server parts are written in OCaml, as a single program, with a syntax to distinguish both parts. Thus, communication between server and client is very easy. This release brings the following new features: Reactive DOM elements, using Daniel Bünzli's React library. Reactive nodes can be created either client- or server-side. See More info PUT and DELETE services for RESTful Eliom Applications. See More info EXPERIMENTAL: Mobile apps with Eliom. (By making it possible to start the application from client-side.) A lot of efforts have been put in documentation improvements. Full changelog. Migration from 3.0 should be very easy If you want to start learning Eliom, the best starting point is the tutorials, even when you are an advanced OCaml programmer. Choose the tutorial that best fits your needs. This release is the result of a collaboration with Besport inc. We send them our warm acknowledgements for their contributions, especially to Hugo Heuzard. We also thank Guillem Rieu, from Domoco, for his contributions. Eliom is a collaborative work by the Ocsigen team. Regards, Vincent Balat, for the Ocsigen team [Less]
Posted almost 9 years ago by Ocsigen team
The Ocsigen project is happy to announce the release of Js_of_ocaml 2.5 Eliom 4.1 Server 2.5 Macaque 0.7 Tyxml 3.3 More information on the Web site.
Posted over 9 years ago by Ocsigen team
Posted over 9 years ago by Ocsigen team
Posted over 9 years ago by Ocsigen team
Posted over 9 years ago by Ocsigen team
Posted over 9 years ago by Ocsigen team
Posted over 9 years ago by Ocsigen team
Posted over 9 years ago by Ocsigen team