Skip to content

I/R: Fix default --isabelle path in repl.py#167

Merged
dominic-mulligan-aws merged 1 commit intomainfrom
ir_path
Mar 5, 2026
Merged

I/R: Fix default --isabelle path in repl.py#167
dominic-mulligan-aws merged 1 commit intomainfrom
ir_path

Conversation

@hanno-becker
Copy link
Contributor

By default, repl.py would use a bad path for the local Isabelle installation. When called from I/Q, the --isabelle argument was not set, so that bad path would be used.

This commit generalizes repl.py to look for Isabelle in a few common places if --isabelle is not present. If --isabelle is present, it should accept both the Isabelle home directory and the Isabelle binary name itself.

Then, from I/Q, call repl.py with the ISABELLE_HOME directory.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

By default, repl.py would use a bad path for the local Isabelle
installation. When called from I/Q, the --isabelle argument was
not set, so that bad path would be used.

This commit generalizes repl.py to look for Isabelle in a few
common places if --isabelle is not present. If --isabelle is
present, it should accept both the Isabelle home directory
and the Isabelle binary name itself.

Then, from I/Q, call repl.py with the ISABELLE_HOME directory.

Signed-off-by: Hanno Becker <beckphan@amazon.co.uk>
@dominic-mulligan-aws dominic-mulligan-aws added the bug Something isn't working label Mar 5, 2026
@dominic-mulligan-aws dominic-mulligan-aws merged commit 9330d8f into main Mar 5, 2026
26 of 27 checks passed
@dominic-mulligan-aws dominic-mulligan-aws deleted the ir_path branch March 5, 2026 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants