From 53b3abda6e5011af5f082f5bdfc95b13d0f807f7 Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Sun, 27 Sep 2020 08:55:36 -0700 Subject: [PATCH] [#24] New language: Afnix --- backend/src/langs.ts | 11 +++++++++++ scripts/docker-install-phase3a.bash | 4 ++++ 2 files changed, 15 insertions(+) diff --git a/backend/src/langs.ts b/backend/src/langs.ts index 70b3856..8cf4148 100644 --- a/backend/src/langs.ts +++ b/backend/src/langs.ts @@ -93,6 +93,17 @@ procedure Main is begin Ada.Text_IO.Put_Line("Hello, world!"); end Main; +`, + }, + afnix: { + aliases: ["als", "axc", "axi"], + name: "Afnix", + repl: "LD_LIBRARY_PATH=/usr/lib/afnix axi", + input: `DELAY: 1 +println (* 123 234)`, + main: "main.als", + run: "LD_LIBRARY_PATH=/usr/lib/afnix axi main.als; LD_LIBRARY_PATH=/usr/lib/afnix axi", + template: `println "Hello, world!" `, }, algol: { diff --git a/scripts/docker-install-phase3a.bash b/scripts/docker-install-phase3a.bash index 1a2a09c..dccc00a 100755 --- a/scripts/docker-install-phase3a.bash +++ b/scripts/docker-install-phase3a.bash @@ -19,6 +19,10 @@ rlwrap # Ada gnat +# Afnix +afnix +afnix-doc + # Algol algol68g