From ef7291da04675523a4a0a6c07c0c76491c4728ca Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Sat, 11 Jul 2020 12:12:48 -0600 Subject: [PATCH] New language: reStructuredText --- backend/src/langs.ts | 10 ++++++++++ scripts/docker-install-phase3c.bash | 3 +++ 2 files changed, 13 insertions(+) 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