first try

This commit is contained in:
Lesenechal Remi 2019-12-11 12:23:11 +01:00
parent c5d1b74c00
commit c8339ed2ef
28 changed files with 56 additions and 33 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@ Version.ml
**/.DS_Store
.vscode/
/ligo.install
/_coverage/

View File

@ -11,6 +11,7 @@ depends: [
"ocamlfind" { build }
"dune" { build & = "1.11.4" }
"menhir" { = "20190626" }
"bisect_ppx" {dev & >= "2.0.0"}
"ppx_let"
"ppx_deriving"
"ppx_expect"
@ -20,7 +21,10 @@ depends: [
"alcotest" { with-test }
"getopt"
# 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: [
[ "dune" "build" "-p" name "-j" jobs ]

View File

@ -7,7 +7,7 @@
)
(modules cli cli_helpers version)
(preprocess
(pps ppx_let)
(pps ppx_let bisect_ppx --conditional)
)
(flags (:standard -open Simple_utils))
)

View File

@ -2,5 +2,5 @@
(name cli_expect_tests)
(libraries simple-utils cli)
(inline_tests)
(preprocess (pps ppx_let ppx_expect))
(preprocess (pps ppx_let ppx_expect bisect_ppx --conditional))
(flags (:standard -open Simple_utils)))

View File

@ -9,6 +9,6 @@
main
)
(preprocess
(pps ppx_let)
(pps ppx_let bisect_ppx --conditional)
)
)

View File

@ -18,7 +18,7 @@
self_michelson
)
(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 ))
)

View File

@ -7,7 +7,7 @@
uncompile
)
(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 ))
)

View File

@ -17,7 +17,7 @@
compile
)
(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 ))
)

View File

@ -11,7 +11,7 @@
transpiler
)
(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 ))
)

View File

@ -16,7 +16,10 @@
simple-utils
tezos-utils
getopt )
(flags (:standard -open Simple_utils -open Parser_shared )))
(preprocess
(pps bisect_ppx --conditional) )
(flags (:standard -open Simple_utils -open Parser_shared ))
)
(executable
(name LexerMain)

View File

@ -10,7 +10,7 @@
parser_reasonligo
)
(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))
)

View File

@ -14,8 +14,13 @@
parser_shared
hex
simple-utils
tezos-utils)
(flags (:standard -open Parser_shared -open Simple_utils)))
tezos-utils
)
(preprocess
(pps bisect_ppx --conditional)
)
(flags (:standard -open Parser_shared -open Simple_utils))
)
(executable
(name LexerMain)

View File

@ -16,8 +16,13 @@
str
simple-utils
tezos-utils
getopt)
(flags (:standard -open Simple_utils -open Parser_shared -open Parser_cameligo)))
getopt
)
(preprocess
(pps bisect_ppx --conditional)
)
(flags (:standard -open Simple_utils -open Parser_shared -open Parser_cameligo ))
)
(executable
(name LexerMain)

View File

@ -7,7 +7,11 @@
simple-utils
uutf
getopt
zarith)
zarith
)
(preprocess
(pps bisect_ppx --conditional)
)
(modules
Lexer
LexerLog

View File

@ -12,6 +12,7 @@
(preprocess
(pps
ppx_let
bisect_ppx --conditional
)
)
(flags (:standard -w +1..62-4-9-44-40-42-48-30@39@33 -open Simple_utils ))

View File

@ -6,7 +6,7 @@
ast_simplified
)
(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 ))
)

View File

@ -11,7 +11,7 @@
operators
)
(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 ))
)

View File

@ -10,7 +10,7 @@
operators
)
(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 ))
)

View File

@ -6,7 +6,7 @@
)
(inline_tests)
(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 ))
)

View File

@ -9,7 +9,7 @@
operators
)
(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 ))
)

View File

@ -6,7 +6,7 @@
tezos-utils
)
(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 ))
)

View File

@ -9,7 +9,7 @@
mini_c
)
(preprocess
(pps ppx_let)
(pps ppx_let bisect_ppx --conditional)
)
(flags (:standard -open Simple_utils ))
)

View File

@ -7,7 +7,7 @@
stage_common
)
(preprocess
(pps ppx_let)
(pps ppx_let bisect_ppx --conditional)
)
(flags (:standard -open Simple_utils ))
)

View File

@ -8,7 +8,7 @@
stage_common
)
(preprocess
(pps ppx_let)
(pps ppx_let bisect_ppx --conditional)
)
(flags (:standard -open Simple_utils))
)

View File

@ -7,7 +7,7 @@
)
(inline_tests)
(preprocess
(pps ppx_let ppx_expect)
(pps ppx_let ppx_expect bisect_ppx --conditional)
)
(flags (:standard -open Simple_utils))
)

View File

@ -7,6 +7,6 @@
stage_common
)
(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 ))
)

View File

@ -8,7 +8,7 @@
mini_c
)
(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 ))
)

View File

@ -7,7 +7,7 @@
tezos-crypto
)
(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 ))
)