Skip to content

Conversation

@filipeom
Copy link
Member

@filipeom filipeom commented Dec 4, 2024

As inspired by OCamlPro/owi#461:

  • use cmdliner's monadic syntax to build cmd terms;
  • use named arguments in the cmds functions.

Other changes include:

  • Moving sub-commands into respective cmd_<command_name>.ml modules;
  • Creating a Solver_mode module;
  • Moving most functions from Solver_dispatcher into a more appropriate Solver_type module
  • Explicit exit codes for Term, Parse, and Exn error outputs in cmdliner.

As inspired by OCamlPro/owi#461:

- use cmdliner's monadic syntax to build cmd terms;
- use named arguments in the cmds functions.

Other changes include:

- Moving sub-commands into respective `cmd_<command_name>.ml` modules;
- Creating a `Solver_mode` module;
- Moving most functions from `Solver_dispatcher` into a more appropriate
  `Solver_type` module
- Explicit exit codes for Term, Parse, and Exn error outputs in
  cmdliner.
@filipeom filipeom merged commit 7f25a33 into formalsec:main Dec 4, 2024
5 checks passed
@filipeom filipeom deleted the use-cmdliner-monadic-syntax branch December 4, 2024 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant