From 51bcd5c69b6fd55998dcd654c6f4be03c8a4ee07 Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Tue, 29 Sep 2020 12:34:16 -0700 Subject: [PATCH] [#24] New language: Icon --- backend/src/langs.ts | 11 +++++++++++ scripts/docker-install-phase3b.bash | 3 +++ 2 files changed, 14 insertions(+) diff --git a/backend/src/langs.ts b/backend/src/langs.ts index 9a54cf1..3f5e745 100644 --- a/backend/src/langs.ts +++ b/backend/src/langs.ts @@ -1479,6 +1479,17 @@ l ; ; o ; * 4 code: `(setv x (* 123 234))`, }, template: `(print "Hello, world!") +`, + }, + icon: { + aliases: ["icn", "icont", "iconx"], + name: "Icon", + main: "main.icn", + compile: "icont main.icn", + run: "./main", + template: `procedure main () + write("Hello, world!") +end `, }, ink: { diff --git a/scripts/docker-install-phase3b.bash b/scripts/docker-install-phase3b.bash index a27cac8..399ce36 100755 --- a/scripts/docker-install-phase3b.bash +++ b/scripts/docker-install-phase3b.bash @@ -76,6 +76,9 @@ ghc # Haxe haxe +# Icon +icont + # INTERCAL intercal