https://github.com/sdasgup3/learning-k
K Learning Experience
https://github.com/sdasgup3/learning-k
formal-semantics k k-framework kframework language-semantics rewrite-rules semantics
Last synced: about 1 month ago
JSON representation
K Learning Experience
- Host: GitHub
- URL: https://github.com/sdasgup3/learning-k
- Owner: sdasgup3
- Created: 2017-12-09T08:52:32.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-03-05T10:10:59.000Z (about 6 years ago)
- Last Synced: 2025-06-05T19:03:34.447Z (11 months ago)
- Topics: formal-semantics, k, k-framework, kframework, language-semantics, rewrite-rules, semantics
- Language: Makefile
- Size: 97.7 KB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# learning-K
Learning Experience on defining language semantics using [K](https://github.com/kframework/k5)
# Usage
- To kompile a k-defintion and krun corresponding tests
```
~~make TEST26~~
cat filelist.txt | parallel "echo {}; cd {}; kompile {}.k --debug --backend java; cd .."
cat filelist.txt | parallel "echo {}; cd {}; krun {}.test --debug ; cd .."
```
- To krpove a spec
```
~~make test.test_spec~~
cat filelist.txt | parallel "echo {}; cd {}; kprove {}-SPEC.k ../dummy.k --smt_prelude /home/sdasgup3/Github/k5/k-distribution/include/z3/basic.smt2 ; cd .."
```
# Contents
| Test Name | Purpose |
|------------|----------|
| TEST41 | Passing config valriable using -c -p flags |
| TEST52 | check maxFloat with Nan/mulfloat |
| TEST49 | rol/ror |
| TEST8 | shl/r |
| TEST24 | shl/r |