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

[WIP] An initial program printer #115

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

[WIP] An initial program printer #115

wants to merge 1 commit into from

Conversation

jmid
Copy link
Collaborator

@jmid jmid commented Aug 19, 2022

This PR takes a stab at adding a program printer #56.

This first version

  • prints a corresponding program without performing a sequential consistency search
  • only supports Domain currently

It can be enabled by setting an environment variable as follows:

LIN_PRINT=1 dune exec src/hashtbl/lin_tests_dsl.exe

When set,

  • /tmp/linfail.ml will get a print of the last failing cmd triple
  • /tmp/linlast.ml will get a print of the last tested cmd triple

(both of these will currently over-write)

@jmid jmid changed the title An initial program printer [WIP] An initial program printer Sep 30, 2022
@jmid jmid marked this pull request as draft October 11, 2022 12:16
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.

None yet

1 participant