output.mli 578 B

1234567891011121314
  1. (** Save assembly to output file or print to [stdout]. *)
  2. (** If an output file is specified in the [-o] command-line argument, the
  3. genrated assembly code is save to that file. Otherwise, the final assembly
  4. code is printed to [stdout]. This allows for using the compiler with UNIX
  5. pipes, since other output is written to [stderr] and the {!Load} phase can
  6. also read from [stdin]:
  7. {v ./civicc < foo.cvc > foo.s v}
  8. This phase has [Assembly] as input and outputs [Empty].
  9. *)
  10. (** Main phase function, called by {!Main}. *)
  11. val phase : Main.phase_func