• If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Dokkio Sidebar (from the makers of PBworks) is a Chrome extension that eliminates the need for endless browser tabs. You can search all your online stuff without any extra effort. And Sidebar was #1 on Product Hunt! Check out what people are saying by clicking here.



Page history last edited by PBworks 14 years, 9 months ago

Look at ~ruml/ocmrc for config info and at one of the *.system files in one of the code libraries for an example system definition file.


There is a default result called "use". "ocm use" will compile all the files (except the result-specific ones) to bytecode and write a file, use.ml, that is useful for using with the toplevel. In the toplevel, say "#use "/use.ml";;" - this will load all the bytecode files so you can play with your code interactively.


  • flags
    • -force : Forces a recompilation. Does not clean up binary directories first.
  • targets
    • use: Builds a file which you can use in ocaml top, allowing you to issue commands to your program through an interactive shell.

Comments (1)

brad.larsen@... said

at 12:49 pm on Jan 3, 2010

Note: the ~/.ocmrc file appears to be necessary for ocm to work at all. Do look at ~ruml/.ocmrc for an example.

You don't have permission to comment on this page.