Skip to content

CLI: Add Litmus.printer to print back TOML test files#79

Merged
tperami merged 1 commit intomainfrom
feature/isla-2-pretty-printer
Mar 13, 2026
Merged

CLI: Add Litmus.printer to print back TOML test files#79
tperami merged 1 commit intomainfrom
feature/isla-2-pretty-printer

Conversation

@febyeji
Copy link
Copy Markdown
Collaborator

@febyeji febyeji commented Mar 4, 2026

Summary

  • Add Litmus_printer module that serializes Litmus_spec.t back to TOML format
  • Round-trips through Litmus_parser.parse_to_spec for all tests

@tperami
Copy link
Copy Markdown
Collaborator

tperami commented Mar 5, 2026

Use otoml built-in printer

@febyeji febyeji force-pushed the feature/isla-litmus-spec branch from 2e08474 to 1f0ce9b Compare March 6, 2026 06:26
@febyeji febyeji force-pushed the feature/isla-2-pretty-printer branch from e3ea51a to 35dc18f Compare March 6, 2026 06:26
@febyeji febyeji force-pushed the feature/isla-litmus-spec branch from 1f0ce9b to c443fab Compare March 6, 2026 08:58
@febyeji febyeji force-pushed the feature/isla-2-pretty-printer branch from 35dc18f to 780411d Compare March 6, 2026 10:57
@febyeji febyeji force-pushed the feature/isla-litmus-spec branch from c443fab to 557c5ae Compare March 6, 2026 10:57
@febyeji febyeji force-pushed the feature/isla-2-pretty-printer branch from 780411d to 7ae1d84 Compare March 6, 2026 11:19
@febyeji febyeji force-pushed the feature/isla-litmus-spec branch from 557c5ae to 0c385d5 Compare March 6, 2026 11:19
Comment thread cli/lib/litmus/printer.ml Outdated
Comment thread cli/lib/litmus/printer.ml Outdated
@febyeji febyeji force-pushed the feature/isla-litmus-spec branch from 0c385d5 to 58f07ac Compare March 6, 2026 16:20
@febyeji febyeji force-pushed the feature/isla-2-pretty-printer branch 2 times, most recently from 1947868 to bbffd5b Compare March 9, 2026 09:23
@febyeji febyeji force-pushed the feature/isla-litmus-spec branch 3 times, most recently from 4f537e0 to 4ec59c2 Compare March 9, 2026 09:52
@febyeji febyeji force-pushed the feature/isla-2-pretty-printer branch from bbffd5b to afecd34 Compare March 9, 2026 09:52
@febyeji febyeji force-pushed the feature/isla-litmus-spec branch 2 times, most recently from 89aeffb to f983080 Compare March 9, 2026 10:08
Comment thread cli/lib/litmus/printer.ml Outdated
@febyeji febyeji force-pushed the feature/isla-litmus-spec branch 2 times, most recently from bbe382a to 6a4427b Compare March 9, 2026 13:58
@febyeji febyeji force-pushed the feature/isla-2-pretty-printer branch 2 times, most recently from 874331b to 8cc45bb Compare March 10, 2026 08:06
@febyeji febyeji force-pushed the feature/isla-litmus-spec branch from 6a4427b to 07a0f27 Compare March 10, 2026 08:06
@febyeji febyeji force-pushed the feature/isla-2-pretty-printer branch from 8cc45bb to 7f65458 Compare March 10, 2026 08:10
@tperami tperami force-pushed the feature/isla-litmus-spec branch from 07a0f27 to f8521c1 Compare March 10, 2026 13:22
@tperami tperami force-pushed the feature/isla-2-pretty-printer branch from 7f65458 to e05e2f2 Compare March 10, 2026 13:22
Also add round-trip tests for all current TOML tests

Co-authored-by: Thibaut Pérami <thibaut.perami@cl.cam.ac.uk>
@tperami tperami changed the title CLI: Add Litmus_printer for spec-to-TOML serialization CLI: Add Litmus.printer to print back TOML test files Mar 12, 2026
@tperami tperami force-pushed the feature/isla-litmus-spec branch from f8521c1 to bc3655a Compare March 12, 2026 19:52
@tperami tperami force-pushed the feature/isla-2-pretty-printer branch from e05e2f2 to 91b9172 Compare March 12, 2026 19:52
Base automatically changed from feature/isla-litmus-spec to main March 13, 2026 10:25
@tperami tperami merged commit 91b9172 into main Mar 13, 2026
2 of 3 checks passed
@tperami tperami deleted the feature/isla-2-pretty-printer branch March 13, 2026 10:25
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.

2 participants