diff --git a/backend/src/langs.ts b/backend/src/langs.ts index a030f4c..3b96675 100644 --- a/backend/src/langs.ts +++ b/backend/src/langs.ts @@ -904,6 +904,16 @@ main :- compile: "bsc main.re > main.js", run: "NODE_PATH=/usr/lib/node_modules node main.js", template: `print_string("Hello, world!\\n") +`, + }, + restructuredtext: { + aliases: ["rst"], + name: "reStructuredText", + monacoLang: "restructuredtext", + main: "main.rst", + compile: "pandoc main.rst -o main.html", + run: "prettier --no-config main.html", + template: `Hello, world! `, }, riscv: { diff --git a/scripts/docker-install-phase3c.bash b/scripts/docker-install-phase3c.bash index 9895b21..4cd5446 100755 --- a/scripts/docker-install-phase3c.bash +++ b/scripts/docker-install-phase3c.bash @@ -58,6 +58,9 @@ r-base # Racket racket +# reStructuredText +pandoc + # RISC-V gcc-riscv64-linux-gnu qemu-user-static