first try
This commit is contained in:
parent
c5d1b74c00
commit
c8339ed2ef
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,3 +8,4 @@ Version.ml
|
|||||||
**/.DS_Store
|
**/.DS_Store
|
||||||
.vscode/
|
.vscode/
|
||||||
/ligo.install
|
/ligo.install
|
||||||
|
/_coverage/
|
||||||
|
@ -11,6 +11,7 @@ depends: [
|
|||||||
"ocamlfind" { build }
|
"ocamlfind" { build }
|
||||||
"dune" { build & = "1.11.4" }
|
"dune" { build & = "1.11.4" }
|
||||||
"menhir" { = "20190626" }
|
"menhir" { = "20190626" }
|
||||||
|
"bisect_ppx" {dev & >= "2.0.0"}
|
||||||
"ppx_let"
|
"ppx_let"
|
||||||
"ppx_deriving"
|
"ppx_deriving"
|
||||||
"ppx_expect"
|
"ppx_expect"
|
||||||
@ -20,7 +21,10 @@ depends: [
|
|||||||
"alcotest" { with-test }
|
"alcotest" { with-test }
|
||||||
"getopt"
|
"getopt"
|
||||||
# work around upstream in-place update
|
# work around upstream in-place update
|
||||||
"ocaml-migrate-parsetree" { = "1.3.1" }
|
"ocaml-migrate-parsetree" { = "1.4.0" }
|
||||||
|
]
|
||||||
|
pin-depends: [
|
||||||
|
["bisect_ppx.git" "git+https://github.com/aantron/bisect_ppx.git"]
|
||||||
]
|
]
|
||||||
build: [
|
build: [
|
||||||
[ "dune" "build" "-p" name "-j" jobs ]
|
[ "dune" "build" "-p" name "-j" jobs ]
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
)
|
)
|
||||||
(modules cli cli_helpers version)
|
(modules cli cli_helpers version)
|
||||||
(preprocess
|
(preprocess
|
||||||
(pps ppx_let)
|
(pps ppx_let bisect_ppx --conditional)
|
||||||
)
|
)
|
||||||
(flags (:standard -open Simple_utils))
|
(flags (:standard -open Simple_utils))
|
||||||
)
|
)
|
||||||
|
@ -2,5 +2,5 @@
|
|||||||
(name cli_expect_tests)
|
(name cli_expect_tests)
|
||||||
(libraries simple-utils cli)
|
(libraries simple-utils cli)
|
||||||
(inline_tests)
|
(inline_tests)
|
||||||
(preprocess (pps ppx_let ppx_expect))
|
(preprocess (pps ppx_let ppx_expect bisect_ppx --conditional))
|
||||||
(flags (:standard -open Simple_utils)))
|
(flags (:standard -open Simple_utils)))
|
||||||
|
2
src/dune
2
src/dune
@ -9,6 +9,6 @@
|
|||||||
main
|
main
|
||||||
)
|
)
|
||||||
(preprocess
|
(preprocess
|
||||||
(pps ppx_let)
|
(pps ppx_let bisect_ppx --conditional)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
self_michelson
|
self_michelson
|
||||||
)
|
)
|
||||||
(preprocess
|
(preprocess
|
||||||
(pps ppx_let)
|
(pps ppx_let bisect_ppx --conditional)
|
||||||
)
|
)
|
||||||
(flags (:standard -w +1..62-4-9-44-40-42-48-30@39@33 -open Simple_utils -open Tezos_utils ))
|
(flags (:standard -w +1..62-4-9-44-40-42-48-30@39@33 -open Simple_utils -open Tezos_utils ))
|
||||||
)
|
)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
uncompile
|
uncompile
|
||||||
)
|
)
|
||||||
(preprocess
|
(preprocess
|
||||||
(pps ppx_let)
|
(pps ppx_let bisect_ppx --conditional)
|
||||||
)
|
)
|
||||||
(flags (:standard -w +1..62-4-9-44-40-42-48-30@39@33 -open Simple_utils -open Tezos_utils ))
|
(flags (:standard -w +1..62-4-9-44-40-42-48-30@39@33 -open Simple_utils -open Tezos_utils ))
|
||||||
)
|
)
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
compile
|
compile
|
||||||
)
|
)
|
||||||
(preprocess
|
(preprocess
|
||||||
(pps ppx_let)
|
(pps ppx_let bisect_ppx --conditional)
|
||||||
)
|
)
|
||||||
(flags (:standard -w +1..62-4-9-44-40-42-48-30@39@33 -open Simple_utils -open Tezos_utils ))
|
(flags (:standard -w +1..62-4-9-44-40-42-48-30@39@33 -open Simple_utils -open Tezos_utils ))
|
||||||
)
|
)
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
transpiler
|
transpiler
|
||||||
)
|
)
|
||||||
(preprocess
|
(preprocess
|
||||||
(pps ppx_let)
|
(pps ppx_let bisect_ppx --conditional)
|
||||||
)
|
)
|
||||||
(flags (:standard -w +1..62-4-9-44-40-42-48-30@39@33 -open Simple_utils -open Tezos_utils ))
|
(flags (:standard -w +1..62-4-9-44-40-42-48-30@39@33 -open Simple_utils -open Tezos_utils ))
|
||||||
)
|
)
|
||||||
|
@ -16,7 +16,10 @@
|
|||||||
simple-utils
|
simple-utils
|
||||||
tezos-utils
|
tezos-utils
|
||||||
getopt )
|
getopt )
|
||||||
(flags (:standard -open Simple_utils -open Parser_shared )))
|
(preprocess
|
||||||
|
(pps bisect_ppx --conditional) )
|
||||||
|
(flags (:standard -open Simple_utils -open Parser_shared ))
|
||||||
|
)
|
||||||
|
|
||||||
(executable
|
(executable
|
||||||
(name LexerMain)
|
(name LexerMain)
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
parser_reasonligo
|
parser_reasonligo
|
||||||
)
|
)
|
||||||
(preprocess
|
(preprocess
|
||||||
(pps ppx_let)
|
(pps ppx_let bisect_ppx --conditional)
|
||||||
)
|
)
|
||||||
(flags (:standard -w +1..62-4-9-44-40-42-48-30@39@33 -open Simple_utils -open Parser_shared))
|
(flags (:standard -w +1..62-4-9-44-40-42-48-30@39@33 -open Simple_utils -open Parser_shared))
|
||||||
)
|
)
|
||||||
|
@ -14,8 +14,13 @@
|
|||||||
parser_shared
|
parser_shared
|
||||||
hex
|
hex
|
||||||
simple-utils
|
simple-utils
|
||||||
tezos-utils)
|
tezos-utils
|
||||||
(flags (:standard -open Parser_shared -open Simple_utils)))
|
)
|
||||||
|
(preprocess
|
||||||
|
(pps bisect_ppx --conditional)
|
||||||
|
)
|
||||||
|
(flags (:standard -open Parser_shared -open Simple_utils))
|
||||||
|
)
|
||||||
|
|
||||||
(executable
|
(executable
|
||||||
(name LexerMain)
|
(name LexerMain)
|
||||||
|
@ -16,8 +16,13 @@
|
|||||||
str
|
str
|
||||||
simple-utils
|
simple-utils
|
||||||
tezos-utils
|
tezos-utils
|
||||||
getopt)
|
getopt
|
||||||
(flags (:standard -open Simple_utils -open Parser_shared -open Parser_cameligo)))
|
)
|
||||||
|
(preprocess
|
||||||
|
(pps bisect_ppx --conditional)
|
||||||
|
)
|
||||||
|
(flags (:standard -open Simple_utils -open Parser_shared -open Parser_cameligo ))
|
||||||
|
)
|
||||||
|
|
||||||
(executable
|
(executable
|
||||||
(name LexerMain)
|
(name LexerMain)
|
||||||
|
@ -7,7 +7,11 @@
|
|||||||
simple-utils
|
simple-utils
|
||||||
uutf
|
uutf
|
||||||
getopt
|
getopt
|
||||||
zarith)
|
zarith
|
||||||
|
)
|
||||||
|
(preprocess
|
||||||
|
(pps bisect_ppx --conditional)
|
||||||
|
)
|
||||||
(modules
|
(modules
|
||||||
Lexer
|
Lexer
|
||||||
LexerLog
|
LexerLog
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
(preprocess
|
(preprocess
|
||||||
(pps
|
(pps
|
||||||
ppx_let
|
ppx_let
|
||||||
|
bisect_ppx --conditional
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
(flags (:standard -w +1..62-4-9-44-40-42-48-30@39@33 -open Simple_utils ))
|
(flags (:standard -w +1..62-4-9-44-40-42-48-30@39@33 -open Simple_utils ))
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
ast_simplified
|
ast_simplified
|
||||||
)
|
)
|
||||||
(preprocess
|
(preprocess
|
||||||
(pps ppx_let)
|
(pps ppx_let bisect_ppx --conditional)
|
||||||
)
|
)
|
||||||
(flags (:standard -w +1..62-4-9-44-40-42-48-30@39@33 -open Simple_utils ))
|
(flags (:standard -w +1..62-4-9-44-40-42-48-30@39@33 -open Simple_utils ))
|
||||||
)
|
)
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
operators
|
operators
|
||||||
)
|
)
|
||||||
(preprocess
|
(preprocess
|
||||||
(pps ppx_let)
|
(pps ppx_let bisect_ppx --conditional)
|
||||||
)
|
)
|
||||||
(flags (:standard -w +1..62-4-9-44-40-42-48-30@39@33 -open Simple_utils ))
|
(flags (:standard -w +1..62-4-9-44-40-42-48-30@39@33 -open Simple_utils ))
|
||||||
)
|
)
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
operators
|
operators
|
||||||
)
|
)
|
||||||
(preprocess
|
(preprocess
|
||||||
(pps ppx_let)
|
(pps ppx_let bisect_ppx --conditional)
|
||||||
)
|
)
|
||||||
(flags (:standard -w +1..62-4-9-44-40-42-48-30@39@33 -open Simple_utils ))
|
(flags (:standard -w +1..62-4-9-44-40-42-48-30@39@33 -open Simple_utils ))
|
||||||
)
|
)
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
)
|
)
|
||||||
(inline_tests)
|
(inline_tests)
|
||||||
(preprocess
|
(preprocess
|
||||||
(pps ppx_let ppx_expect)
|
(pps ppx_let ppx_expect bisect_ppx --conditional)
|
||||||
)
|
)
|
||||||
(flags (:standard -w +1..62-4-9-44-40-42-48-30@39@33 -open Simple_utils ))
|
(flags (:standard -w +1..62-4-9-44-40-42-48-30@39@33 -open Simple_utils ))
|
||||||
)
|
)
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
operators
|
operators
|
||||||
)
|
)
|
||||||
(preprocess
|
(preprocess
|
||||||
(pps ppx_let)
|
(pps ppx_let bisect_ppx --conditional)
|
||||||
)
|
)
|
||||||
(flags (:standard -w +1..62-4-9-44-40-42-48-30@39@33 -open Simple_utils -open Tezos_utils ))
|
(flags (:standard -w +1..62-4-9-44-40-42-48-30@39@33 -open Simple_utils -open Tezos_utils ))
|
||||||
)
|
)
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
tezos-utils
|
tezos-utils
|
||||||
)
|
)
|
||||||
(preprocess
|
(preprocess
|
||||||
(pps ppx_let)
|
(pps ppx_let bisect_ppx --conditional)
|
||||||
)
|
)
|
||||||
(flags (:standard -w +1..62-4-9-44-40-42-48-30@39@33 -open Simple_utils ))
|
(flags (:standard -w +1..62-4-9-44-40-42-48-30@39@33 -open Simple_utils ))
|
||||||
)
|
)
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
mini_c
|
mini_c
|
||||||
)
|
)
|
||||||
(preprocess
|
(preprocess
|
||||||
(pps ppx_let)
|
(pps ppx_let bisect_ppx --conditional)
|
||||||
)
|
)
|
||||||
(flags (:standard -open Simple_utils ))
|
(flags (:standard -open Simple_utils ))
|
||||||
)
|
)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
stage_common
|
stage_common
|
||||||
)
|
)
|
||||||
(preprocess
|
(preprocess
|
||||||
(pps ppx_let)
|
(pps ppx_let bisect_ppx --conditional)
|
||||||
)
|
)
|
||||||
(flags (:standard -open Simple_utils ))
|
(flags (:standard -open Simple_utils ))
|
||||||
)
|
)
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
stage_common
|
stage_common
|
||||||
)
|
)
|
||||||
(preprocess
|
(preprocess
|
||||||
(pps ppx_let)
|
(pps ppx_let bisect_ppx --conditional)
|
||||||
)
|
)
|
||||||
(flags (:standard -open Simple_utils))
|
(flags (:standard -open Simple_utils))
|
||||||
)
|
)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
)
|
)
|
||||||
(inline_tests)
|
(inline_tests)
|
||||||
(preprocess
|
(preprocess
|
||||||
(pps ppx_let ppx_expect)
|
(pps ppx_let ppx_expect bisect_ppx --conditional)
|
||||||
)
|
)
|
||||||
(flags (:standard -open Simple_utils))
|
(flags (:standard -open Simple_utils))
|
||||||
)
|
)
|
||||||
|
@ -7,6 +7,6 @@
|
|||||||
stage_common
|
stage_common
|
||||||
)
|
)
|
||||||
(inline_tests)
|
(inline_tests)
|
||||||
(preprocess (pps ppx_expect ppx_let))
|
(preprocess (pps ppx_expect ppx_let bisect_ppx --conditional))
|
||||||
(flags (:standard -w +1..62-4-9-44-40-42-48-30@39@33 -open Simple_utils ))
|
(flags (:standard -w +1..62-4-9-44-40-42-48-30@39@33 -open Simple_utils ))
|
||||||
)
|
)
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
mini_c
|
mini_c
|
||||||
)
|
)
|
||||||
(preprocess
|
(preprocess
|
||||||
(pps ppx_let)
|
(pps ppx_let bisect_ppx --conditional)
|
||||||
)
|
)
|
||||||
(flags (:standard -w +1..62-4-9-44-40-42-48-30@39@33 -open Simple_utils ))
|
(flags (:standard -w +1..62-4-9-44-40-42-48-30@39@33 -open Simple_utils ))
|
||||||
)
|
)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
tezos-crypto
|
tezos-crypto
|
||||||
)
|
)
|
||||||
(preprocess
|
(preprocess
|
||||||
(pps ppx_let)
|
(pps ppx_let bisect_ppx --conditional)
|
||||||
)
|
)
|
||||||
(flags (:standard -w +1..62-4-9-44-40-42-48@39@33 -open Simple_utils ))
|
(flags (:standard -w +1..62-4-9-44-40-42-48@39@33 -open Simple_utils ))
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user