-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CN: split CN into a library and an executable (#429)
* CN: split CN into library and executable components * CN: remove CLI dependency from library * CN: update filepath references in docs
- Loading branch information
Showing
90 changed files
with
93 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
(executable | ||
(name main) | ||
(modes exe) | ||
(public_name cn) | ||
(package cn) | ||
(flags | ||
(:standard -w -37 -open Monomorphic.Int)) | ||
(libraries | ||
cerb_backend | ||
cerb_frontend | ||
cerb_util | ||
cmdliner | ||
cn | ||
mem_concrete | ||
menhirLib | ||
monomorphic | ||
ocamlgraph | ||
result | ||
str | ||
unix | ||
z3)) | ||
|
||
; There is already a Version in Cerb_frontend, but if new commits only require | ||
; rebuilding the CN backend that module will be out of date. | ||
; So we add a CN specific version. | ||
|
||
(rule | ||
(targets cn_version.ml) | ||
(deps (universe)) | ||
(action | ||
(with-stdout-to | ||
cn_version.ml | ||
(run ocaml -I +unix unix.cma %{dep:../../../tools/gen_version.ml})))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
open Cn | ||
open Builtins | ||
module CF = Cerb_frontend | ||
module CB = Cerb_backend | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1 @@ | ||
(include_subdirs qualified) | ||
|
||
(executable | ||
(name main) | ||
(modes exe) | ||
(public_name cn) | ||
(package cn) | ||
(flags | ||
(:standard -w -37 -open Monomorphic.Int)) | ||
(libraries | ||
cerb_backend | ||
cerb_frontend | ||
cerb_util | ||
cmdliner | ||
mem_concrete | ||
menhirLib | ||
monomorphic | ||
ocamlgraph | ||
result | ||
str | ||
unix | ||
z3) | ||
(preprocess | ||
(pps | ||
ppx_deriving.eq | ||
ppx_deriving.fold | ||
ppx_deriving.map | ||
ppx_deriving.ord | ||
ppx_deriving.show))) | ||
|
||
; There is already a Version in Cerb_frontend, but if new commits only require | ||
; rebuilding the CN backend that module will be out of date. | ||
; So we add a CN specific version. | ||
|
||
(rule | ||
(targets cn_version.ml) | ||
(deps (universe)) | ||
(action | ||
(with-stdout-to | ||
cn_version.ml | ||
(run ocaml -I +unix unix.cma %{dep:../../tools/gen_version.ml})))) | ||
(dirs lib bin) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
(include_subdirs qualified) | ||
|
||
(library | ||
(name cn) | ||
(public_name cn) | ||
(flags | ||
(:standard -w -37 -open Monomorphic.Int)) | ||
(libraries | ||
cerb_backend | ||
cerb_frontend | ||
cerb_util | ||
mem_concrete | ||
menhirLib | ||
monomorphic | ||
ocamlgraph | ||
result | ||
str | ||
unix | ||
z3) | ||
(preprocess | ||
(pps | ||
ppx_deriving.eq | ||
ppx_deriving.fold | ||
ppx_deriving.map | ||
ppx_deriving.ord | ||
ppx_deriving.show))) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.