From 647366a8ae18f6720b2825b66b1fcec404ce6226 Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Sat, 26 Sep 2020 20:23:42 -0700 Subject: [PATCH] [#24] New language: XSLT God, the horror of putting together this example. It boggles the mind how hard XSLT is to use. --- backend/src/langs.ts | 19 +++++++++++++++++++ scripts/docker-install-phase3d.bash | 3 +++ 2 files changed, 22 insertions(+) diff --git a/backend/src/langs.ts b/backend/src/langs.ts index c146b50..8869578 100644 --- a/backend/src/langs.ts +++ b/backend/src/langs.ts @@ -2996,6 +2996,25 @@ main: message: .string "Hello, world!\\n" `, + }, + xslt: { + aliases: ["xsltproc", "xsl"], + name: "XSLT", + main: "main.xsl", + compile: "xsltproc main.xsl -o main", + run: "cat main", + template: ` +
+ + + + + + Hello, world! +
+` }, yaml: { aliases: ["yml"], diff --git a/scripts/docker-install-phase3d.bash b/scripts/docker-install-phase3d.bash index 376269a..b1e08a1 100755 --- a/scripts/docker-install-phase3d.bash +++ b/scripts/docker-install-phase3d.bash @@ -81,6 +81,9 @@ python3.7 # x86 clang +# XSLT +xsltproc + # YAML jq