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

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

ocm

Page history last edited by PBworks 16 years, 5 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.