diff --git a/backend/src/langs.ts b/backend/src/langs.ts index 8869578..5c98828 100644 --- a/backend/src/langs.ts +++ b/backend/src/langs.ts @@ -3029,6 +3029,20 @@ message: `, }, template: `output: "Hello, world!" +`, + }, + yorick: { + name: "Yorick", + repl: "rlwrap yorick", + main: "main.i", + run: `echo "Type '#include \\"main.i\\"' to run the code." && rlwrap yorick`, + helloInput: `#include "main.i"`, + scope: { + code: `x = 123 * 234`, + input: `#include "main.i" +x`, + }, + template: `write, "Hello, world!" `, }, zot: { diff --git a/scripts/docker-install-phase3d.bash b/scripts/docker-install-phase3d.bash index b1e08a1..d77fd49 100755 --- a/scripts/docker-install-phase3d.bash +++ b/scripts/docker-install-phase3d.bash @@ -87,6 +87,10 @@ xsltproc # YAML jq +# Yorick +rlwrap +yorick + # Zot qt5-qmake qtscript5-dev