mirror of
https://github.com/engineer-man/piston.git
synced 2025-05-09 21:36:27 +02:00
Merge 03dadc5e85
into 4e361dcf92
This commit is contained in:
commit
484c8e27c6
5 changed files with 36 additions and 0 deletions
15
packages/holyc/0.0.9/build.sh
vendored
Executable file
15
packages/holyc/0.0.9/build.sh
vendored
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
[[ -d "bin" ]] && exit 0
|
||||
PREFIX=$(realpath $(dirname $0))
|
||||
|
||||
curl -L "https://github.com/Jamesbarford/holyc-lang/archive/refs/tags/beta-v0.0.9.zip" -o holyc.zip
|
||||
unzip ./holyc.zip
|
||||
mkdir "${PREFIX}"/lib
|
||||
|
||||
cd ./holyc-lang-beta-v0.0.9
|
||||
|
||||
make \
|
||||
INSTALL_PREFIX="${PREFIX}"
|
||||
make install
|
||||
rm -f ./holyc.zip
|
7
packages/holyc/0.0.9/compile
vendored
Normal file
7
packages/holyc/0.0.9/compile
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Compile HolyC files
|
||||
mv $1 $1.HC
|
||||
filename=$1.HC
|
||||
shift
|
||||
hcc $filename
|
1
packages/holyc/0.0.9/environment
vendored
Normal file
1
packages/holyc/0.0.9/environment
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
export PATH=$PWD/bin:$PATH
|
9
packages/holyc/0.0.9/metadata.json
vendored
Normal file
9
packages/holyc/0.0.9/metadata.json
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"language": "HolyC",
|
||||
"version": "0.0.9",
|
||||
"aliases": ["holyc", "HolyC", "hcc"],
|
||||
"limit_overrides": {
|
||||
"compile_timeout": 15000,
|
||||
"compile_cpu_time": 15000
|
||||
}
|
||||
}
|
4
packages/holyc/0.0.9/test.HC
vendored
Normal file
4
packages/holyc/0.0.9/test.HC
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
U0 Main()
|
||||
{
|
||||
"hello, world!\n";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue