diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2016-04-26 14:30:59 +0200 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2016-05-24 15:52:11 +0200 |
commit | 0a450d3e1d8a9e166e198381676b7e51b8b2f7bb (patch) | |
tree | e8f1ada6af476d394262b644a3c64600288d6b23 /driver/Frontend.mli | |
parent | fbaeaaec35da748db98a3cf9e405024024561426 (diff) | |
download | compcert-0a450d3e1d8a9e166e198381676b7e51b8b2f7bb.tar.gz compcert-0a450d3e1d8a9e166e198381676b7e51b8b2f7bb.zip |
Moved shared frontend code in own file.
Clightgen and CompCert share the code for preprocessing as well as
parsing C files. The code as well as command line switches is moved
in the new module Frontend.
Bug 18768
Diffstat (limited to 'driver/Frontend.mli')
-rw-r--r-- | driver/Frontend.mli | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/driver/Frontend.mli b/driver/Frontend.mli new file mode 100644 index 00000000..689f382f --- /dev/null +++ b/driver/Frontend.mli @@ -0,0 +1,23 @@ +(* *********************************************************************) +(* *) +(* 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 optins affecting the frontend *) + +val prepro_help: string |