This commit is contained in:
scpchicken 2024-04-18 23:41:03 +12:00 committed by GitHub
commit e8f3422ed8
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

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