An example of compiling a simple language processor in OCaml to JavaScript with js_of_ocaml