hacspec / hax

A Rust verification tool
https://hacspec.org/blog
Apache License 2.0
174 stars 19 forks source link

CLI: improve `hax into -i '...'` #497

Open W95Psp opened 7 months ago

W95Psp commented 7 months ago

Currently, that -i flag is redundant with F*'s --interfaces flag.

We should have a unified flag that can express a list of queries with modifiers.

A query selects some items, e.g. *some::module::*.

A modifiers say what to do with the selected items:

W95Psp commented 4 months ago

Chatting with @karthikbhargavan about that, maybe more verbosity would be nicer: instead of having one -i <something> flag with containing multiple items, we should have --include, --exclude, --include-only, --include-signature

W95Psp commented 2 weeks ago

I'm inlining issue #688 there, as a possible enhancement: the selection query language could include selecting item based on visibility.