Browse Source

fix; add basic

txlyre 1 year ago
parent
commit
8e832135e3
3 changed files with 8 additions and 1 deletions
  1. 1 0
      langs/basic/Dockerfile
  2. 5 0
      langs/basic/run.sh
  3. 2 1
      langs/csharp/run.sh

+ 1 - 0
langs/basic/Dockerfile

@@ -0,0 +1 @@
+RUN apt-get install yabasic -y

+ 5 - 0
langs/basic/run.sh

@@ -0,0 +1,5 @@
+IN="$(mktemp --suffix .bas)"
+
+cat > "$IN"
+
+yabasic "$IN"

+ 2 - 1
langs/csharp/run.sh

@@ -6,5 +6,6 @@ cat > "$IN"
 mcs -out:"$OUT" "$IN"
 
 if [ $? -eq 0 ]; then
-  mono "$OUT"
+  # 10000iq move
+  mono "$OUT" | tail -n +2
 fi