We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2d8be9 commit ef2fb6eCopy full SHA for ef2fb6e
2 files changed
archive/a/algol60/hello-world.alg
@@ -0,0 +1,3 @@
1
+begin
2
+ outstring(1, "Hello, World!\n");
3
+end
archive/a/algol60/testinfo.yml
@@ -0,0 +1,20 @@
+language_display_name: "ALGOL 60"
+
+folder:
4
+ extension: ".alg"
5
+ naming: "hyphen"
6
7
+container:
8
+ image: "rzuckerm/algol60"
9
+ tag: "2.1.1-1"
10
+ build: |
11
+ sh -c 'jff-algol -r {{ source.name }}{{ source.extension }} && \
12
+ (echo "#!/bin/sh"; \
13
+ echo "(printf \"%d\0\" \"\$#\"; printf \"%s\0\" \"\$@\") | ./{{ source.name }} | tr -d \"\\0\"" \
14
+ ) >{{ source.name }}.sh'
15
+ cmd: "sh {{ source.name }}.sh"
16
17
+notes:
18
+ - Since ALGOL 60 does not support command-line arguments directly, the command line arguments are delivered like this:
19
+ - - Number of arguments followed by null byte (ASCII 0)
20
+ - - Each argument is separated by a null byte (ASCII 0)
0 commit comments