aboutsummaryrefslogtreecommitdiffstats
path: root/driver/Frontend.mli
blob: a18c2704d1bb17c1ec309a605d7daa81f147c6ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
(* *********************************************************************)
(*                                                                     *)
(*              The Compcert verified compiler                         *)
(*                                                                     *)
(*          Xavier Leroy, INRIA Paris-Rocquencourt                     *)
(*      Bernhard Schommer, AbsInt Angewandte Informatik GmbH           *)
(*                                                                     *)
(*  Copyright Institut National de Recherche en Informatique et en     *)
(*  Automatique.  All rights reserved.  This file is distributed       *)
(*  under the terms of the INRIA Non-Commercial License Agreement.     *)
(*                                                                     *)
(* *********************************************************************)

val preprocess: string -> string -> unit
  (** From C to preprocessed C *)

val parse_c_file: string -> string -> Csyntax.coq_function Ctypes.program
  (** From preprocessed C to Csyntax *)

val prepro_actions: (Commandline.pattern * Commandline.action) list
  (** Commandline options affecting the frontend *)

val prepro_help: string
  (** Commandline help description *)

val init: unit -> unit
  (** Initialize the Frontend *)