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

pkg(k-1.0.0): Added k 1.0.0 #534

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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: 9 additions & 0 deletions packages/k/1.0.0/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/env bash

set -e

git clone "https://codeberg.org/ngn/k" k
cd k

git checkout 544d014afd8dd84b18c2011cabd3aa3d76571ca3
make CC=gcc
5 changes: 5 additions & 0 deletions packages/k/1.0.0/environment
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash

# k path
export PATH=$PWD/bin:$PATH
export K_PATH=$PWD/k
5 changes: 5 additions & 0 deletions packages/k/1.0.0/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"language": "k",
"version": "1.0.0",
"aliases": ["ngnk"]
}
3 changes: 3 additions & 0 deletions packages/k/1.0.0/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

$K_PATH/k "$@"
1 change: 1 addition & 0 deletions packages/k/1.0.0/test.k
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
`0:`c$2/'((1 0 0 1 1 1 1);(1 0 0 1 0 1 1))
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ Errors may return status codes as follows:
`javascript`,
`jelly`,
`julia`,
`k`,
`kotlin`,
`lisp`,
`llvm_ir`,
Expand Down
Loading