The ocamlbrowser tool allows you to edit source code files, type-check, and work with an integrated Ocaml session to test source code as you write it.