-
Notifications
You must be signed in to change notification settings - Fork 160
Update simple-untyped to work with the modern backends. #2841
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
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
dce0af0
simple-untyped: kompile against the haskell backend
nishantjr 0438502
simple-untyped: Fix labels for overloaded lists
nishantjr 46b94b9
simple-untyped: Move to llvm backend, enable search
nishantjr 0c6f342
Fix collision between initial thread id and first thread spawned.
nishantjr 0a798ac
div-nondet.simple.out: Update to use LLVM's output format
nishantjr a23b7c0
thread04: Correct output (NB: Previous output was incorrect accordin…
nishantjr d165aed
div-nondet: Drop output case not possible without now unavailable sup…
nishantjr f2dca5e
Update formatting for new backends
nishantjr b694bed
Fix formatting
nishantjr ac0338d
Merge branch 'develop' into simple-untyped-llvm
nishantjr 4121e01
Merge branch 'develop' into simple-untyped-llvm
dced716
Merge branch 'develop' into simple-untyped-llvm
radumereuta 60572d1
Update threads_05 test
radumereuta 82be390
Update k-exercises expected results
radumereuta c59136f
Revert workflow change
radumereuta d95f28b
Merge branch 'develop' into simple-untyped-llvm
radumereuta 753edc9
.github/workflows: use new cachix keys
ehildenb 775926e
.github/: adjustments to cachix steps
ehildenb e0c2f09
.github/test-pr: try using extraPullNames to speed up process
ehildenb 91f1133
Revert ".github/test-pr: try using extraPullNames to speed up process"
ehildenb 89b7e9d
.github/test-pr: update nix install steps
ehildenb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 15 additions & 5 deletions
20
...languages/1_simple/1_untyped/exercises/break-continue/tests/diverse/div-nondet.simple.out
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,17 @@ | ||
| S ==K "0\n" | ||
| { | ||
| S:String | ||
| #Equals | ||
| "1\n" | ||
| } | ||
| #Or | ||
| S ==K "1\n" | ||
| { | ||
| S:String | ||
| #Equals | ||
| "2\n" | ||
| } | ||
| #Or | ||
| S ==K "2\n" | ||
| #Or | ||
| S ==K "3\n" | ||
| { | ||
| S:String | ||
| #Equals | ||
| "3\n" | ||
| } |
12 changes: 10 additions & 2 deletions
12
...ges/1_simple/1_untyped/exercises/break-continue/tests/exceptions/exceptions_07.simple.out
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,11 @@ | ||
| S ==K "2 5\n" | ||
| { | ||
| S:String | ||
| #Equals | ||
| "2 5\n" | ||
| } | ||
| #Or | ||
| S ==K "2 6\n" | ||
| { | ||
| S:String | ||
| #Equals | ||
| "2 6\n" | ||
| } |
12 changes: 10 additions & 2 deletions
12
...languages/1_simple/1_untyped/exercises/break-continue/tests/threads/threads_01.simple.out
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,11 @@ | ||
| S ==K "5\n" | ||
| { | ||
| S:String | ||
| #Equals | ||
| "5\n" | ||
| } | ||
| #Or | ||
| S ==K "7\n" | ||
| { | ||
| S:String | ||
| #Equals | ||
| "7\n" | ||
| } |
12 changes: 10 additions & 2 deletions
12
...languages/1_simple/1_untyped/exercises/break-continue/tests/threads/threads_02.simple.out
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,11 @@ | ||
| S ==K "5\n" | ||
| { | ||
| S:String | ||
| #Equals | ||
| "5\n" | ||
| } | ||
| #Or | ||
| S ==K "7\n" | ||
| { | ||
| S:String | ||
| #Equals | ||
| "7\n" | ||
| } |
24 changes: 22 additions & 2 deletions
24
...languages/1_simple/1_untyped/exercises/break-continue/tests/threads/threads_04.simple.out
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,23 @@ | ||
| S ==K "2 3 " | ||
| { | ||
| S:String | ||
| #Equals | ||
| "2 3 " | ||
| } | ||
| #Or | ||
| S ==K "3 2 " | ||
| { | ||
| S:String | ||
| #Equals | ||
| "3 2 " | ||
| } | ||
| #Or | ||
| { | ||
| S:String | ||
| #Equals | ||
| "23 " | ||
| } | ||
| #Or | ||
| { | ||
| S:String | ||
| #Equals | ||
| "32 " | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jberthold we do set up the
extra_nix_confighere, but it doesn't run on our own CI machines, so I guess it's not actually using taht. We could add backextraPullNames: kore, but I'd like to consolidate caches.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What I meant to suggest was to add the
https://cache.iog.iosubstituter (IOHK Haskell infra cache), in"Install Nix".We do this about 8 lines above here but the
test-nixjob in https://github.com/runtimeverification/k/blob/91f11338d4ccf3626f4e8874e10071e09d5131c6/.github/workflows/test-pr.yml#L192..L198 does not add that cache.Thought it would be worth a try