[eacsl] Extract some translation functions
- `tapp_to_exp` is moved to `Logic_functions`, with the existing `Logic_function.tapp_to_exp` renamed to `function_to_exp` and moved as an internal function; - `name_of_mpz_arith_bop` is moved to `Gmp`; - `add_cast` and `strnum` are moved to a new `Typed_number` module.
Showing
- src/plugins/e-acsl/Makefile.in 2 additions, 1 deletionsrc/plugins/e-acsl/Makefile.in
- src/plugins/e-acsl/headers/header_spec.txt 2 additions, 0 deletionssrc/plugins/e-acsl/headers/header_spec.txt
- src/plugins/e-acsl/src/code_generator/gmp.ml 17 additions, 0 deletionssrc/plugins/e-acsl/src/code_generator/gmp.ml
- src/plugins/e-acsl/src/code_generator/gmp.mli 4 additions, 0 deletionssrc/plugins/e-acsl/src/code_generator/gmp.mli
- src/plugins/e-acsl/src/code_generator/logic_functions.ml 98 additions, 1 deletionsrc/plugins/e-acsl/src/code_generator/logic_functions.ml
- src/plugins/e-acsl/src/code_generator/logic_functions.mli 3 additions, 4 deletionssrc/plugins/e-acsl/src/code_generator/logic_functions.mli
- src/plugins/e-acsl/src/code_generator/translate.ml 77 additions, 218 deletionssrc/plugins/e-acsl/src/code_generator/translate.ml
- src/plugins/e-acsl/src/code_generator/typed_number.ml 109 additions, 0 deletionssrc/plugins/e-acsl/src/code_generator/typed_number.ml
- src/plugins/e-acsl/src/code_generator/typed_number.mli 49 additions, 0 deletionssrc/plugins/e-acsl/src/code_generator/typed_number.mli
This diff is collapsed.
Please register or sign in to comment