Compare commits

...

2 Commits

Author SHA1 Message Date
scpchicken 44f1de2812
Merge 7199dd266e into 59338eee33 2024-08-02 20:33:30 +12:00
Hydrazer 7199dd266e pkg(k-1.0.0): Added k 1.0.0 2022-12-24 08:37:55 -07:00
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

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