From cc78f49a1306b3440e94a383cf382023a852c7d3 Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Mon, 28 Sep 2020 20:03:31 -0700 Subject: [PATCH] [#24] New language: GEL --- backend/src/langs.ts | 13 +++++++++++++ scripts/docker-install-phase3b.bash | 3 +++ 2 files changed, 16 insertions(+) diff --git a/backend/src/langs.ts b/backend/src/langs.ts index 98703dd..bb68fc9 100644 --- a/backend/src/langs.ts +++ b/backend/src/langs.ts @@ -1243,6 +1243,19 @@ int main() { input: `p $x`, }, template: `p "Hello, world!" +`, + }, + gel: { + aliases: ["genius"], + name: "GEL", + repl: "genius", + main: ".geniusinit", + createEmpty: ``, + run: "genius", + scope: { + code: `x = 123 * 234`, + }, + template: `print("Hello, world!") `, }, go: { diff --git a/scripts/docker-install-phase3b.bash b/scripts/docker-install-phase3b.bash index 5dc5822..319b897 100755 --- a/scripts/docker-install-phase3b.bash +++ b/scripts/docker-install-phase3b.bash @@ -54,6 +54,9 @@ gap # GDB gdb +# GEL +genius + # Go golang