diff --git a/backend/src/langs.ts b/backend/src/langs.ts index e8bd032..3723a5d 100644 --- a/backend/src/langs.ts +++ b/backend/src/langs.ts @@ -1276,6 +1276,14 @@ main = do run: `racket -i -e '(enter! "main.rkt") (display "[ type (enter! \\"main.rkt\\") to access local variables ]\\n")'`, template: `#lang racket/base (display "Hello, world!\\n") +`, + }, + рапира: { + aliases: ["rap", "rerap", "rerap2", "rapira"], + name: "Рапира", + main: "main.rap", + run: "rapira main.rap", + template: `вывод: "Hello, world!" `, }, reasonml: { diff --git a/scripts/docker-install-phase3c.bash b/scripts/docker-install-phase3c.bash index 77e6fef..aeb3677 100755 --- a/scripts/docker-install-phase3c.bash +++ b/scripts/docker-install-phase3c.bash @@ -67,6 +67,9 @@ r-base # Racket racket +# Rapira +clang + # Redis redis diff --git a/scripts/docker-install-phase7.bash b/scripts/docker-install-phase7.bash index a6afaff..a6e21cc 100755 --- a/scripts/docker-install-phase7.bash +++ b/scripts/docker-install-phase7.bash @@ -49,6 +49,14 @@ git clone https://github.com/bipinu/malbolge.git clang malbolge/malbolge.c -o /usr/bin/malbolge rm -rf malbolge +# Rapira +git clone https://github.com/freeduke33/rerap2.git +pushd rerap2 >/dev/null +make +mv rapira /usr/bin/rapira +popd >/dev/null +rm -rf rerap2 + # Thue wget -nv https://catseye.tc/distfiles/thue-1.5-2015.0827.zip unzip thue-*.zip