javascript

Caml in JavaScript? Meet CamlScript!

Ladies, gentlemen, fellow geeks and retardz, I present CamlScript.org.

CamlScript is an homage to the old Caml Light system, a lightweight sibling of OCaml and thus a relative of F#. It is currently very orthogonal and somewhat limited in use. But still, it is a toy language with some serious chops. And all of it can run inside your favorite browser.

Highlight Test One

// factorial(4) => 24
function factorial(i)
{
  // tail-recursive helper
  var fac_helper = function(i, acc)
  {
    if (i 

Nibh

Bene consequat humo patria pecus quibus suscipit vel ymo. Abico comis jumentum refoveo. Abluo amet defui nimis premo quis refero singularis vel. Refoveo sit verto. Commoveo decet genitus importunus quadrum sed typicus zelus. Ad amet blandit damnum dignissim olim saluto sed ullamcorper. Brevitas consectetuer loquor praemitto tamen tincidunt tum utrum volutpat. Accumsan amet neo oppeto pertineo quia sagaciter veniam.

Subscribe to javascript