Skip to content

Instantly share code, notes, and snippets.

@alexkirsz
Created October 4, 2015 11:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alexkirsz/7dabfdd813d715f6ff02 to your computer and use it in GitHub Desktop.
Save alexkirsz/7dabfdd813d715f6ff02 to your computer and use it in GitHub Desktop.
ST3 Build Systems for OCaml
{
"shell_cmd": "type $file | ocaml",
"selector": "source.ml"
}
{
"shell_cmd": "cat $file | ocaml",
"selector": "source.ml"
}
{
"shell_cmd": "ocaml $file",
"selector": "source.ml"
}
@alexkirsz
Copy link
Author

Go to Tools > Build System > New Build System..., paste the content of one of the above files and save it.

The build systems denoted with REPL will execute your code through the REPL, which means that you'll receive a lot more feedback but lose line/column reporting in error messages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment