UNH AI Wiki

 

ocm

Page history last edited by Jordan Thayer 2 yrs 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 (0)

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