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.


Page Information

  • 10 months ago [history]
  • View page source
  • You're not logged in
  • No tags yet learn more

Wiki Information

Recent PBwiki Blog Posts