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

Remove #parseKORE #3850

Merged
merged 2 commits into from
Dec 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions k-distribution/include/kframework/builtin/domains.md
Original file line number Diff line number Diff line change
Expand Up @@ -2315,14 +2315,9 @@ It is not recommended to use any of them directly as they are largely
unsupported in modern K. There are a few exceptions:

* `#getenv` - Returns the value of an environment variable
* `#parseKORE` - Takes a String containing a K intermediate representation of
a term such as is returned by `kast -o kore` and converts it to a term.
This is NOT type-safe. The responsibility is on the user to ensure that the
string they provide is a valid representation of a term of the sort *exactly*
equal to the sort where the function appears.
* `#kompiledDirectory` - Returns the path to the current compiled K definition
directory.
* `#unparseKORE` = Takes a K term and converts it to a string.
* `#unparseKORE` - Takes a K term and converts it to a string.

```k
module K-REFLECTION
Expand All @@ -2342,8 +2337,6 @@ module K-REFLECTION
// undefined
syntax List ::= #argv() [function, hook(KREFLECTION.argv)]

// Takes as input a string and returns a K term
syntax {Sort} Sort ::= #parseKORE(String) [function, hook(KREFLECTION.parseKORE)]
syntax {Sort} String ::= #unparseKORE(Sort) [function, hook(KREFLECTION.printKORE)]
syntax IOError ::= "#noParse" "(" String ")" [klabel(#noParse), symbol]

Expand Down
1 change: 0 additions & 1 deletion k-distribution/tests/regression-new/coverage-poly/1.test

This file was deleted.

3 changes: 0 additions & 3 deletions k-distribution/tests/regression-new/coverage-poly/1.test.out

This file was deleted.

6 changes: 0 additions & 6 deletions k-distribution/tests/regression-new/coverage-poly/Makefile

This file was deleted.

8 changes: 0 additions & 8 deletions k-distribution/tests/regression-new/coverage-poly/test.k

This file was deleted.

1 change: 0 additions & 1 deletion k-distribution/tests/regression-new/parseKORE/1.test

This file was deleted.

8 changes: 0 additions & 8 deletions k-distribution/tests/regression-new/parseKORE/1.test.out

This file was deleted.

6 changes: 0 additions & 6 deletions k-distribution/tests/regression-new/parseKORE/Makefile

This file was deleted.

12 changes: 0 additions & 12 deletions k-distribution/tests/regression-new/parseKORE/test.k

This file was deleted.

7 changes: 0 additions & 7 deletions k-distribution/tests/regression-new/parseKORE2/Makefile

This file was deleted.

3 changes: 0 additions & 3 deletions k-distribution/tests/regression-new/parseKORE2/output

This file was deleted.

8 changes: 0 additions & 8 deletions k-distribution/tests/regression-new/parseKORE2/test.k

This file was deleted.