Skip to content

Commit

Permalink
refactor choice monad
Browse files Browse the repository at this point in the history
  • Loading branch information
zapashcanon committed Oct 14, 2023
1 parent 055bbde commit c09f32b
Show file tree
Hide file tree
Showing 8 changed files with 426 additions and 488 deletions.
8 changes: 7 additions & 1 deletion src/bin/owi.ml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ let unsafe =
let doc = "skip typechecking pass" in
Cmdliner.Arg.(value & flag & info [ "unsafe"; "u" ] ~doc)

let workers =
let doc = "number of workers for symbolic execution" in
Cmdliner.Arg.(value & opt int 4 & info [ "workers"; "w" ] ~doc)

let copts_t = Cmdliner.Term.(const [])

let sdocs = Cmdliner.Manpage.s_common_options
Expand Down Expand Up @@ -68,7 +72,9 @@ let sym_cmd =
Cmd.info "sym" ~version ~doc ~sdocs ~man
in
Cmd.v info
Term.(const Cmd_sym.cmd $ profiling $ debug $ unsafe $ optimize $ files)
Term.(
const Cmd_sym.cmd $ profiling $ debug $ unsafe $ optimize $ workers
$ files )

let cli =
let open Cmdliner in
Expand Down
Loading

0 comments on commit c09f32b

Please sign in to comment.