This commit is contained in:
scpchicken 2024-08-02 20:33:30 +12:00 committed by GitHub
commit 44f1de2812
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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`, `javascript`,
`jelly`, `jelly`,
`julia`, `julia`,
`k`,
`kotlin`, `kotlin`,
`lisp`, `lisp`,
`llvm_ir`, `llvm_ir`,