Code on the internet is often a rather static affair, you read it and when you want to do more complex things, like writing code, you use an editor on your local machine. There are websites where you can also edit code online, but these often require a server because the supported programming language can't be compiled to the web. This means that these online editors are not very portable to other websites.
OCaml has the advantage of being able to run code on the web without needing a server. ocaml-gist uses this advantage to create online gist experiences that run completely standalone. It allows library authors to give users a place where they can try libraries immediately. It allows for embedding in any form of web page, like for instance this blog post:
ocaml-gist consists of two parts, a webworker and a frontend. The webworker evaluates OCaml in a separate thread and ensures that the frontend only needs to focus on the interface and remains responsive.
In the next blog post about ocaml-gist we'll be diving into the type based feedback support provided by Merlin-lite.