O'browser: objective caml on browsers

  • Authors:
  • Benjamin Canou;Vincent Balat;Emmanuel Chailloux

  • Affiliations:
  • Université Pierre et Marie Curie - Paris 6 and Université Paris Diderot - Paris 7,, Paris, France;Université Paris Diderot - Paris 7, Paris, France;Université Pierre et Marie Curie - Paris 6, Paris, France

  • Venue:
  • Proceedings of the 2008 ACM SIGPLAN workshop on ML
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a way to run Objective Caml programs on a standard, unmodified web browser, with a compatible data representation and execution model, including concurrency. To achieve this, we designed a bytecode interpreter in JavaScript, as well as an implementation of the runtime library. Since the web browser does not provide the same interaction mechanisms as a typical Objective Caml environment, we provide an add-on to the standard library, enabling interaction with the web page. As a result, one can now build the client side of a web application with the standard Objective Caml compiler and run it on any modern web browser.