Skip to content
This repository was archived by the owner on Apr 25, 2024. It is now read-only.

Conversation

@ehildenb
Copy link
Member

Following #489, it turns out that KEVM's TUI is broken because it relies on the old way of doing Node printing.

This makes a new APRProofViewer class, which largely inherits from KCFGViewer, but adjusts it to handle the more spceific node viewers.

I have tested this with both KEVM+Foundry and raw KEVM specs, and it seems to work.

@ehildenb ehildenb self-assigned this Jun 20, 2023
Comment on lines +1 to +61
#navigation {
dock: left;
width: 35%;
height: 100%;
layout: vertical;
}
#behavior {
height: 1fr;
border: solid;
overflow-x: auto;
overflow-y: auto;
}

.cfg-node {
height: auto;
width: auto;
}

.hidden {
display: none;
}

#display {
layout: vertical;
}
#info-view {
height: 2fr;
border: solid;
overflow: auto scroll;
}
#term-view {
height: 15fr;
border: solid;
overflow: auto scroll;
}
#constraint-view {
height: 5fr;
border: solid;
overflow: auto scroll;
}
#custom-view {
height: 15fr;
border: solid;
overflow: auto scroll;
}
#info {
width: auto;
height: auto;
}
#term {
width: auto;
height: auto;
}
#constraint {
width: auto;
height: auto;
}
#custom {
width: auto;
height: auto;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this just a clone of src/pyk/kcfg/style.css? I wonder if it would be better to have APRProofViewer inherit the styling from its superclass.

Copy link
Member Author

Choose a reason for hiding this comment

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

Hmmmmm, that would be a good idea, sorry I didn't see this before it was merged.

@rv-jenkins rv-jenkins merged commit 1d9f989 into master Jun 20, 2023
@rv-jenkins rv-jenkins deleted the apr-proof-tui branch June 20, 2023 23:03
Baltoli pushed a commit to runtimeverification/k that referenced this pull request Apr 9, 2024
…tion/pyk#507)

Following runtimeverification/pyk#489, it turns
out that KEVM's TUI is broken because it relies on the old way of doing
Node printing.

This makes a new `APRProofViewer` class, which largely inherits from
`KCFGViewer`, but adjusts it to handle the more spceific node viewers.

I have tested this with both KEVM+Foundry and raw KEVM specs, and it
seems to work.

---------

Co-authored-by: devops <[email protected]>
Baltoli pushed a commit to runtimeverification/k that referenced this pull request Apr 9, 2024
…tion/pyk#507)

Following runtimeverification/pyk#489, it turns
out that KEVM's TUI is broken because it relies on the old way of doing
Node printing.

This makes a new `APRProofViewer` class, which largely inherits from
`KCFGViewer`, but adjusts it to handle the more spceific node viewers.

I have tested this with both KEVM+Foundry and raw KEVM specs, and it
seems to work.

---------

Co-authored-by: devops <[email protected]>
Baltoli pushed a commit to runtimeverification/k that referenced this pull request Apr 10, 2024
…tion/pyk#507)

Following runtimeverification/pyk#489, it turns
out that KEVM's TUI is broken because it relies on the old way of doing
Node printing.

This makes a new `APRProofViewer` class, which largely inherits from
`KCFGViewer`, but adjusts it to handle the more spceific node viewers.

I have tested this with both KEVM+Foundry and raw KEVM specs, and it
seems to work.

---------

Co-authored-by: devops <[email protected]>
Baltoli pushed a commit to runtimeverification/k that referenced this pull request Apr 10, 2024
…tion/pyk#507)

Following runtimeverification/pyk#489, it turns
out that KEVM's TUI is broken because it relies on the old way of doing
Node printing.

This makes a new `APRProofViewer` class, which largely inherits from
`KCFGViewer`, but adjusts it to handle the more spceific node viewers.

I have tested this with both KEVM+Foundry and raw KEVM specs, and it
seems to work.

---------

Co-authored-by: devops <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants