Skip to content

Python -> Laurel#435

Open
andrewmwells-amazon wants to merge 8 commits intomainfrom
andrewmwells/py_laurel_cp
Open

Python -> Laurel#435
andrewmwells-amazon wants to merge 8 commits intomainfrom
andrewmwells/py_laurel_cp

Conversation

@andrewmwells-amazon
Copy link
Contributor

@andrewmwells-amazon andrewmwells-amazon commented Feb 17, 2026

Python -> Laurel translation.

This includes a new TCore type in Laurel to directly refer to Core types. For now the benchmarks don't work with CVC5.

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

@andrewmwells-amazon andrewmwells-amazon changed the title py laurel cherrypick Python -> Laurel Feb 17, 2026
@andrewmwells-amazon andrewmwells-amazon marked this pull request as ready for review February 17, 2026 19:53
@andrewmwells-amazon andrewmwells-amazon requested a review from a team as a code owner February 17, 2026 19:53
Copy link
Contributor

@aqjune-aws aqjune-aws left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The directory name 'old_expected' doesn't seem to convey much information other than it is old. What about expected-nonlaurel and expected-laurel?


# Initialize conda
eval "$(conda shell.bash hook)"
conda activate strata
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

conda is not available on my machine - can we run this test without conda?

I think it is good to merge this script with run_py_analyze.sh because the boilerplate lines are equivalent.

(Origin_test_helper_procedure_Requires)req_name_is_foo: 🟡 unknown (at byte 10641)
(Origin_test_helper_procedure_Requires)req_opt_name_none_or_str: ✅ pass (at byte 10690)

(Origin_test_helper_procedure_Requires)req_opt_name_none_or_bar: ✅ pass (at byte 10836)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have idea why the output messages disappeared in this test case?
And the StrataTest/Languages/Python/expected/test_missing_models.expected case seems opposite. Are we having different procedure filtering policy compared to the old Python translator?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants