Submit templates for repl.it/templates here.

← Back to all posts
ocaml.repl (anything.repl)
superwhiskers (40)

ocaml.repl (no opam support)

a repl made for running programs written in ocaml

how to use

place your ocaml source code inside of src/ (or another directory, provided that you change the directory in the makefile), it must have a main.ml (but you can change that as well.) that's it. unless your program depends on packages from opam, you should be good

cleaning build artifacts

run make clean