@@ -5,6 +5,6 @@ cat > "$IN"
gnatmake "$IN" -o "$OUT" -w -gnatws
-if [ -f $OUT ]; then
+if [ -f $OUT ] && ! [ -s $OUT ]; then
exec "$OUT"
fi
@@ -0,0 +1 @@
+RUN apt-get install binutils nasm -y
@@ -0,0 +1,14 @@
+IN="$(mktemp --suffix .s)"
+OUT="$(mktemp)"
+TEMP="$(mktemo --suffix .o)"
+
+cat > "$IN"
+nasm -felf64 "$IN" -o "$TEMP"
+if [ -f $TEMP ]; then
+ ld "$TEMP" -o "$OUT"
+fi
+if [ -f $OUT ]; then
+ exec "$OUT"
+RUN apt-get install clisp -y
@@ -0,0 +1,5 @@
+IN="$(mktemp --suffix .lsp)"
+clisp "$IN"