pkg(k-1.0.0): Added k 1.0.0

This commit is contained in:
Hydrazer 2022-12-23 19:28:44 -07:00
parent d815a4f1ac
commit 7199dd266e
6 changed files with 23 additions and 0 deletions

9
packages/ngnk/1.0.0/build.sh vendored Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -e
git clone "https://codeberg.org/ngn/k" k
cd k
git checkout 040f73b56f379a8298cb1747075c9e947dfe0e42
make CC=gcc

4
packages/ngnk/1.0.0/environment vendored Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
export PATH=$PWD/bin:$PATH
export K_PATH=$PWD/k

5
packages/ngnk/1.0.0/metadata.json vendored Normal file
View File

@ -0,0 +1,5 @@
{
"language": "ngnk",
"version": "1.0.0",
"aliases": ["k"]
}

3
packages/ngnk/1.0.0/run vendored Normal file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env bash
$K_PATH/k "$@"

1
packages/ngnk/1.0.0/test.k vendored Normal file
View File

@ -0,0 +1 @@
`0:"OK"

View File

@ -350,6 +350,7 @@ Content-Type: application/json
`javascript`,
`jelly`,
`julia`,
`k`,
`kotlin`,
`lisp`,
`llvm_ir`,