Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
devops committed Jan 16, 2024
2 parents 044e141 + 0d49f11 commit d86e735
Show file tree
Hide file tree
Showing 3,534 changed files with 233 additions and 34,906 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
7 changes: 7 additions & 0 deletions .github/workflows/test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@ jobs:
token: ${{ secrets.JENKINS_GITHUB_PAT }}
submodules: recursive
path: k-exercises
- name: 'Check out pl-tutorial'
uses: actions/checkout@v3
with:
repository: runtimeverification/pl-tutorial
token: ${{ secrets.JENKINS_GITHUB_PAT }}
submodules: recursive
path: k-distribution/pl-tutorial
- name: 'Tutorial Integration Tests'
run: |
docker exec -t k-ci-${GITHUB_SHA} /bin/bash -c 'k-distribution/target/release/k/bin/spawn-kserver kserver.log'
Expand Down
17 changes: 3 additions & 14 deletions k-distribution/INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,27 +175,16 @@ Testing Packages
The easiest way to test the K package is to copy a K tutorial language and
check if you can compile and run an included example.

1. Start by copying the K tutorial to some work directory
(e.g. `$HOME/pl-tutorial`) from the K distribution root. Using a Linux
package, this command typically will be like:
1. Start by cloning the K tutorial from the [K PL Tutorial](https://www.github.com/runtimeverification/pl-tutorial). This command typically will be like:

```sh
$ cp -R /usr/share/kframework/pl-tutorial $HOME/pl-tutorial
$ git clone https://www.github.com/runtimeverification/pl-tutorial
```

On macOS/brew, this command typically will be like:

```sh
$ cp -R /usr/local/share/kframework/pl-tutorial $HOME/pl-tutorial
```

This step is needed because sometimes only the `root` user can run the
examples in the default installation directory.

2. Now you can try to run some programs:

```sh
$ cd $HOME/pl-tutorial/2_languages/1_simple/1_untyped
$ cd pl-tutorial/2_languages/1_simple/1_untyped
$ make kompile
$ krun tests/diverse/factorial.simple
```
2 changes: 1 addition & 1 deletion k-distribution/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
SUBDIRS=pl-tutorial tests/regression-new tests/builtins/collections
SUBDIRS=tests/regression-new tests/builtins/collections

include include/kframework/ktest-group.mak
2 changes: 1 addition & 1 deletion k-distribution/k-tutorial/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ K. While the primary use of K is in the specification of operational semantics
of programming languages, this tutorial is agnostic on how the knowledge of K
is used. For a more detailed tutorial explaining the basic principles of
programming language design, refer to the
[K PL Tutorial](../pl-tutorial/README.md). Note that that tutorial is somewhat
[K PL Tutorial](https://www.github.com/runtimeverification/pl-tutorial). Note that that tutorial is somewhat
out of date presently.

This K tutorial is a work in progress. Many lessons are currently simply
Expand Down
4 changes: 0 additions & 4 deletions k-distribution/pl-tutorial/1_k/1_lambda/Makefile

This file was deleted.

23 changes: 0 additions & 23 deletions k-distribution/pl-tutorial/1_k/1_lambda/README.md

This file was deleted.

10 changes: 0 additions & 10 deletions k-distribution/pl-tutorial/1_k/1_lambda/lesson_1/Makefile

This file was deleted.

9 changes: 0 additions & 9 deletions k-distribution/pl-tutorial/1_k/1_lambda/lesson_1/NOTES.md

This file was deleted.

115 changes: 0 additions & 115 deletions k-distribution/pl-tutorial/1_k/1_lambda/lesson_1/README.md

This file was deleted.

15 changes: 0 additions & 15 deletions k-distribution/pl-tutorial/1_k/1_lambda/lesson_1/lambda.k

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

8 changes: 0 additions & 8 deletions k-distribution/pl-tutorial/1_k/1_lambda/lesson_2.5/NOTES.md

This file was deleted.

21 changes: 0 additions & 21 deletions k-distribution/pl-tutorial/1_k/1_lambda/lesson_2.5/lambda.k

This file was deleted.

Empty file.

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion k-distribution/pl-tutorial/1_k/1_lambda/lesson_2/Makefile

This file was deleted.

16 changes: 0 additions & 16 deletions k-distribution/pl-tutorial/1_k/1_lambda/lesson_2/NOTES.md

This file was deleted.

Loading

0 comments on commit d86e735

Please sign in to comment.