Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing documentation --check-only flag lps2pbes #1761

Closed
markuzzz opened this issue Apr 4, 2024 · 3 comments
Closed

Missing documentation --check-only flag lps2pbes #1761

markuzzz opened this issue Apr 4, 2024 · 3 comments
Assignees
Labels
enhancement Something can be improved

Comments

@markuzzz
Copy link

markuzzz commented Apr 4, 2024

The documentation does not state that lps2pbes can be used to only check a formula: https://mcrl2.org/web/user_manual/tools/release/lps2pbes.html

But running "lps2pbes .lps .mcf --check-only" does actually work. It nicely prints whether the formula is well-formed. The shorthand flag -e also works.

The documentation should be updated.

@tneele
Copy link
Member

tneele commented Apr 4, 2024

This is a hidden option that can be found by running lps2pbes --help-all. This is also the reason it is not included in the documentation. If there are good reasons to expose it, we could decide to unhide this option.

@Valo13
Copy link
Member

Valo13 commented Apr 4, 2024

I implemented this some time ago (see 3a06842) because I needed it for mCRL2IDE, but I can't remember why we decided for it to be hidden though. The tool mcrl22lps has a similar option for checking an mCRL2 spec which is not hidden, so I can imagine we can just make this one non-hidden as well.

@markuzzz
Copy link
Author

markuzzz commented Apr 4, 2024

I can imagine wanting to hide experimental features or features that have very limited use cases. But I think being able to check a formula is a pretty normal functionality.

My use case: I use a number of Python scripts to orchestrate the mCRL2 toolset. I also use a script to check whether all the mu-calculus formulas in a predefined directory are valid.

@mlaveaux mlaveaux self-assigned this May 30, 2024
@mlaveaux mlaveaux added the enhancement Something can be improved label May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Something can be improved
Projects
None yet
Development

No branches or pull requests

4 participants