Compare commits
12 Commits
b6b573f4c4
...
d79b58add1
Author | SHA1 | Date |
---|---|---|
Thomas | d79b58add1 | |
Thomas | 3d8e45ecc4 | |
Dan Vargas | 50c4e0fae5 | |
Dan Vargas | b8aa60c4ab | |
Thomas | 5217e2af5d | |
Dan Vargas | 599b1f793d | |
Thomas | bcbdda6f66 | |
Thomas | 88925c0b2e | |
Thomas | ac660c0a45 | |
Vargas, Dan | 09c9c13d07 | |
Victor Frazao | 992a5f52fc | |
Vargas, Dan | fdf236a789 |
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
PREFIX=$(realpath $(dirname $0))
|
||||
|
||||
mkdir -p build
|
||||
|
||||
cd build
|
||||
|
||||
# Platform specific because a true source compile would require GHC to be installed already on the latest
|
||||
curl -L "https://downloads.haskell.org/~ghc/9.0.1/ghc-9.0.1-x86_64-deb10-linux.tar.xz" -o ghc.tar.xz
|
||||
tar xf ghc.tar.xz --strip-components=1
|
||||
rm ghc.tar.xz
|
||||
|
||||
./configure --prefix="$PREFIX"
|
||||
make install -j$(nproc)
|
||||
|
||||
cd ../
|
||||
|
||||
rm -rf build
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Compile haskell file(s)
|
||||
ghc -dynamic -v0 -o out "$@"
|
||||
chmod +x out
|
|
@ -0,0 +1 @@
|
|||
export PATH=$PWD/bin:$PATH
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"language": "haskell",
|
||||
"version": "9.0.1",
|
||||
"author": "Dan Vargas <danvargas46@gmail.com>",
|
||||
"aliases": ["haskell", "hs"]
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
shift # Filename is only used to compile
|
||||
./out "$@"
|
|
@ -0,0 +1 @@
|
|||
main = putStrLn "OK"
|
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put instructions to build your package in here
|
||||
PREFIX=$(realpath $(dirname $0))
|
||||
|
||||
mkdir -p build
|
||||
|
||||
cd build
|
||||
|
||||
# Prebuilt binary install since source compile requires lisp to be installed already
|
||||
curl -L "http://prdownloads.sourceforge.net/sbcl/sbcl-2.1.2-x86-64-linux-binary.tar.bz2" -o sbcl.tar.bz2
|
||||
tar xf sbcl.tar.bz2 --strip-components=1
|
||||
rm sbcl.tar.bz2
|
||||
|
||||
INSTALL_ROOT=$PREFIX sh install.sh
|
||||
|
||||
cd ../
|
||||
|
||||
rm -rf build
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put 'export' statements here for environment variables
|
||||
export PATH=$PWD/bin:$PATH
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"language": "lisp",
|
||||
"version": "2.1.2",
|
||||
"aliases": ["lisp","cl","sbcl","commonlisp"],
|
||||
"author": "Dan Vargas <danvargas46@gmail.com>"
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Put instructions to run the runtime
|
||||
sbcl --script "$@"
|
|
@ -0,0 +1 @@
|
|||
(write-line "OK")
|
|
@ -0,0 +1,18 @@
|
|||
#!/bin/bash
|
||||
|
||||
PREFIX=$(realpath $(dirname $0))
|
||||
|
||||
mkdir -p build
|
||||
|
||||
cd build
|
||||
|
||||
# Prebuilt binary - source *can* be built, but it requires gcc
|
||||
curl -L "https://nim-lang.org/download/nim-1.4.4-linux_x64.tar.xz" -o nim.tar.xz
|
||||
tar xf nim.tar.xz --strip-components=1
|
||||
rm nim.tar.xz
|
||||
|
||||
./install.sh "$PREFIX"
|
||||
|
||||
cd ../
|
||||
|
||||
rm -rf build
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Compile nim file(s)
|
||||
nim --hints:off --out:out --nimcache:./ c "$@"
|
||||
chmod +x out
|
|
@ -0,0 +1 @@
|
|||
export PATH=$PWD/nim/bin:$PATH
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"language": "nim",
|
||||
"version": "1.4.4",
|
||||
"author": "Dan Vargas <danvargas46@gmail.com>",
|
||||
"aliases": ["nim"]
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
shift # Filename is only used to compile
|
||||
./out "$@"
|
|
@ -0,0 +1 @@
|
|||
echo("OK")
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Put instructions to run the runtime
|
||||
osabie "$@"
|
||||
# osabie only takes filename and stdin
|
||||
osabie "$1"
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
source ../../python/3.9.1/build.sh
|
||||
|
||||
git clone -q https://github.com/betaveros/paradoc.git paradoc
|
|
@ -0,0 +1,2 @@
|
|||
export PYTHONPATH=$PYTHONPATH:$PWD/paradoc
|
||||
export PATH=$PWD/bin:$PATH
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"language": "paradoc",
|
||||
"version": "0.6.0",
|
||||
"author": "Dan Vargas <danvargas46@gmail.com>",
|
||||
"aliases": ["paradoc"]
|
||||
}
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Paradoc only takes filename and stdin
|
||||
python3 -m paradoc "$1"
|
|
@ -0,0 +1 @@
|
|||
"OK"
|
|
@ -1,3 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
shift
|
||||
./binary "$@"
|
||||
|
|
Loading…
Reference in New Issue