Compare commits

...

4 Commits

Author SHA1 Message Date
Slendi cd13fe0110
Merge 99b03e20d0 into c4cf018be2 2024-04-18 14:41:13 +03:00
Damodar Lohani c4cf018be2
add Dart 3.0.1 package (#602) 2024-04-18 23:40:14 +12:00
Kodie 684b47d2a2
pkg(node-20.11.0) Added Node 20.11.0 (#646) 2024-04-18 23:38:20 +12:00
Slendi 99b03e20d0
pkg(holyc-1.0.0): Added holyc 1.0.0
This patch adds support for the HolyC programming language by Terry A.
Davis.

The compiler used is based on a modified version of the 3Days compiler.
Both 3Days and the fork used here do not have a specific version so
1.0.0 has been used and will be used forwards in future commits unless
3Days gets versioning (which it wont since development stopped).

Signed-off-by: Slendi <slendi@socopon.com>
2023-06-12 14:23:13 +03:00
15 changed files with 78 additions and 0 deletions

11
packages/dart/3.0.1/build.sh vendored Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env bash
curl -L "https://storage.googleapis.com/dart-archive/channels/stable/release/3.0.1/sdk/dartsdk-linux-x64-release.zip" -o dart.zip
unzip dart.zip
rm dart.zip
cp -r dart-sdk/* .
rm -rf dart-sdk
chmod -R +rx bin

4
packages/dart/3.0.1/environment vendored Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
# Put 'export' statements here for environment variables
export PATH=$PWD/bin:$PATH

5
packages/dart/3.0.1/metadata.json vendored Normal file
View File

@ -0,0 +1,5 @@
{
"language": "dart",
"version": "3.0.1",
"aliases": []
}

4
packages/dart/3.0.1/run vendored Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
# Put instructions to run the runtime
dart run "$@"

3
packages/dart/3.0.1/test.dart vendored Normal file
View File

@ -0,0 +1,3 @@
void main() {
print('OK');
}

22
packages/holyc/1.0.0/build.sh vendored Executable file
View File

@ -0,0 +1,22 @@
#!/bin/bash
PREFIX=$(realpath $(dirname $0))
mkdir -p build
cd build
curl https://git.xslendi.xyz/slendi/3Days/archive/main.tar.gz -o 3days.tar.gz
tar xzf 3days.tar.gz --strip-components=1
rm 3days.tar.gz
make
cp -v 3d_loader $PREFIX/.
cp -rv T $PREFIX/.
cd ..
rm -rf build

1
packages/holyc/1.0.0/environment vendored Normal file
View File

@ -0,0 +1 @@
export PATH=$PWD/bin:$PATH

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

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

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

@ -0,0 +1,3 @@
#!/bin/bash
3d_loader -T $PWD/bin/ -c "$@"

1
packages/holyc/1.0.0/test.HC vendored Normal file
View File

@ -0,0 +1 @@
"OK";

4
packages/node/20.11.1/build.sh vendored Normal file
View File

@ -0,0 +1,4 @@
#!/bin/bash
curl "https://nodejs.org/dist/v20.11.1/node-v20.11.1-linux-x64.tar.xz" -o node.tar.xz
tar xf node.tar.xz --strip-components=1
rm node.tar.xz

1
packages/node/20.11.1/environment vendored Normal file
View File

@ -0,0 +1 @@
export PATH=$PWD/bin:$PATH

10
packages/node/20.11.1/metadata.json vendored Normal file
View File

@ -0,0 +1,10 @@
{
"language": "node",
"version": "20.11.1",
"provides": [
{
"language": "javascript",
"aliases": ["node-javascript", "node-js", "javascript", "js"]
}
]
}

3
packages/node/20.11.1/run vendored Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
node "$@"

1
packages/node/20.11.1/test.js vendored Normal file
View File

@ -0,0 +1 @@
console.log('OK');