mirror of
https://github.com/Z3Prover/z3
synced 2025-08-25 04:26:00 +00:00
cave in to supporting proofs (partially) in simplifiers, updated doc
This commit is contained in:
parent
aaabbfb594
commit
80033e8744
36 changed files with 157 additions and 108 deletions
|
@ -88,14 +88,17 @@ void help_tactics() {
|
|||
std::cout << "- " << cmd->get_name() << " " << cmd->get_descr() << "\n";
|
||||
}
|
||||
|
||||
void help_tactic(char const* name) {
|
||||
void help_tactic(char const* name, bool markdown) {
|
||||
cmd_context ctx;
|
||||
for (auto cmd : ctx.tactics()) {
|
||||
if (cmd->get_name() == name) {
|
||||
tactic_ref t = cmd->mk(ctx.m());
|
||||
param_descrs descrs;
|
||||
t->collect_param_descrs(descrs);
|
||||
descrs.display(std::cout, 4);
|
||||
if (markdown)
|
||||
descrs.display_markdown(std::cout);
|
||||
else
|
||||
descrs.display(std::cout, 4);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue