From 102b2677f4868147be807f78218020cc796879bf Mon Sep 17 00:00:00 2001 From: Mike Kasberg Date: Sat, 23 Oct 2021 09:50:02 -0600 Subject: [PATCH] Add BASIC seed script This commit adds a BASIC seed script to our collection. It uses [Gambas](http://gambas.sourceforge.net/en/main.html) as the interpreter. Gambas is available in the apt repositories and can parse command line arguments and run scripts with a shebang line. * Add `seeds/basic_seed.bas`. * Prints a hello world message. * Prints a usage info when passed `-h`. * Edit the Dockerfile to install Gambas. * Add Basic to the dropdown in `index.html`. * Add Basic to `main.js` for syntax highlighting. Fixes #21 --- Dockerfile | 1 + index.html | 1 + main.js | 4 ++++ seeds/basic_seed.bas | 25 +++++++++++++++++++++++++ 4 files changed, 31 insertions(+) create mode 100755 seeds/basic_seed.bas diff --git a/Dockerfile b/Dockerfile index 193f7e3..afdf783 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,7 @@ RUN apt-get update && \ apt-get install --no-install-recommends -y\ curl\ erlang\ + gambas3\ gawk\ gnupg2\ golang\ diff --git a/index.html b/index.html index 754dfe5..b8487f2 100644 --- a/index.html +++ b/index.html @@ -37,6 +37,7 @@

🌱 Script Seed