Compare commits
7 Commits
507233400d
...
e95d386697
Author | SHA1 | Date |
---|---|---|
Thomas Hobson | e95d386697 | |
Hydrazer | 132a835b0b | |
Thomas Hobson | c385c73bc4 | |
Thomas Hobson | ef9b22f154 | |
Thomas Hobson | 79f1ca50a5 | |
Jonxslays | d76aa7527e | |
Hydrazer | 6cee1e8c34 |
|
@ -0,0 +1,10 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# curl racket 8.3 linux installation shell file
|
||||||
|
curl -L 'https://download.racket-lang.org/installers/8.3/racket-8.3-x86_64-linux-cs.sh' -o racket.sh
|
||||||
|
|
||||||
|
# provide settings "no" "4" and "<CR>" to racket.sh
|
||||||
|
echo "no
|
||||||
|
4
|
||||||
|
" | sh racket.sh
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Path to racket binary
|
||||||
|
export PATH=$PWD/bin:$PATH
|
||||||
|
export RACKET_PATH=$PWD/racket
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"language": "racket",
|
||||||
|
"version": "8.3.0",
|
||||||
|
"aliases": ["rkt"]
|
||||||
|
}
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
"$RACKET_PATH"/bin/racket "$@"
|
|
@ -0,0 +1,3 @@
|
||||||
|
#lang racket
|
||||||
|
|
||||||
|
(display "OK")
|
|
@ -0,0 +1,22 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# get dotnet 2.2.8 as a dependency for retina
|
||||||
|
curl "https://download.visualstudio.microsoft.com/download/pr/022d9abf-35f0-4fd5-8d1c-86056df76e89/477f1ebb70f314054129a9f51e9ec8ec/dotnet-sdk-2.2.207-linux-x64.tar.gz" -Lo dotnet.tar.gz
|
||||||
|
tar xzf dotnet.tar.gz --strip-components=1
|
||||||
|
rm dotnet.tar.gz
|
||||||
|
|
||||||
|
export DOTNET_CLI_HOME=$PWD
|
||||||
|
./dotnet new console -o cache_application
|
||||||
|
|
||||||
|
rm -rf cache_application
|
||||||
|
|
||||||
|
# curl retina version 1.2.0
|
||||||
|
curl -L "https://github.com/m-ender/retina/releases/download/v1.2.0/retina-linux-x64.tar.gz" -o retina.tar.xz
|
||||||
|
tar xf retina.tar.xz --strip-components=1
|
||||||
|
rm retina.tar.xz
|
||||||
|
|
||||||
|
# move the libhostfxr.so file to the current directory so we don't have to set DOTNET_ROOT
|
||||||
|
mv host/fxr/2.2.8/libhostfxr.so libhostfxr.so
|
||||||
|
|
||||||
|
# give execute permissions to retina
|
||||||
|
chmod +x Retina
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
export PATH=$PWD/bin:$PATH
|
||||||
|
export RETINA_PATH=$PWD
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"language": "retina",
|
||||||
|
"version": "1.2.0",
|
||||||
|
"aliases": ["ret"]
|
||||||
|
}
|
|
@ -0,0 +1,15 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# retina doesn't take interactive stdin and doesn't take args either
|
||||||
|
|
||||||
|
# save the file for later
|
||||||
|
file="$1"
|
||||||
|
|
||||||
|
# remove file from $@
|
||||||
|
shift
|
||||||
|
|
||||||
|
# join arguments on newline
|
||||||
|
stdin=`printf "%s\n" "$@"`
|
||||||
|
|
||||||
|
# pass stdin into Retina command with file as argument
|
||||||
|
echo "$stdin" | "$RETINA_PATH"/Retina "$file"
|
|
@ -0,0 +1 @@
|
||||||
|
K`OK
|
|
@ -85,6 +85,7 @@ The following are approved and endorsed extensions/utilities to the core Piston
|
||||||
- [Piston4J](https://github.com/the-codeboy/Piston4J), a Java wrapper for accessing the Piston API.
|
- [Piston4J](https://github.com/the-codeboy/Piston4J), a Java wrapper for accessing the Piston API.
|
||||||
- [Pyston](https://github.com/ffaanngg/pyston), a Python wrapper for accessing the Piston API.
|
- [Pyston](https://github.com/ffaanngg/pyston), a Python wrapper for accessing the Piston API.
|
||||||
- [Go-Piston](https://github.com/milindmadhukar/go-piston), a Golang wrapper for accessing the Piston API.
|
- [Go-Piston](https://github.com/milindmadhukar/go-piston), a Golang wrapper for accessing the Piston API.
|
||||||
|
- [piston_rs](https://github.com/Jonxslays/piston_rs), a Rust wrapper for accessing the Piston API.
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
|
@ -381,7 +382,9 @@ Content-Type: application/json
|
||||||
`pyth`,
|
`pyth`,
|
||||||
`python`,
|
`python`,
|
||||||
`python2`,
|
`python2`,
|
||||||
|
`racket`,
|
||||||
`raku`,
|
`raku`,
|
||||||
|
`retina`,
|
||||||
`rockstar`,
|
`rockstar`,
|
||||||
`rscript`,
|
`rscript`,
|
||||||
`ruby`,
|
`ruby`,
|
||||||
|
|
Loading…
Reference in New Issue