From cd29dd30d51230f90ae8d97fb3fc70b4f5c9e07b Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Sun, 27 Sep 2020 14:46:59 -0700 Subject: [PATCH] [#24] New language: AspectC++ --- backend/src/langs.ts | 14 ++++++++++++++ scripts/docker-install-phase3a.bash | 3 +++ 2 files changed, 17 insertions(+) diff --git a/backend/src/langs.ts b/backend/src/langs.ts index 6c4b6c0..dfee7cb 100644 --- a/backend/src/langs.ts +++ b/backend/src/langs.ts @@ -197,6 +197,20 @@ message: compile: "asciidoc -s main.adoc", run: "prettier --no-config main.html", template: `Hello, world! +`, + }, + "aspectc++":{ + aliases: ["aspectcpp"], + name: "AspectC++", + main: "main.cpp", + compile: `ag++ main.cpp -o main | (grep -v "TO BE FIXED" || true)`, + run: "./main", + template: `#include + +int main() { + std::cout << "Hello, world!" << std::endl; + return 0; +} `, }, ats: { diff --git a/scripts/docker-install-phase3a.bash b/scripts/docker-install-phase3a.bash index dccc00a..0ff192a 100755 --- a/scripts/docker-install-phase3a.bash +++ b/scripts/docker-install-phase3a.bash @@ -36,6 +36,9 @@ qemu-user-static # AsciiDoc asciidoc +# AspectC++ +aspectc++ + # ATS ats2-lang