Skip to content

Commit 97670ea

Browse files
committed
Make "ALGOL 68" live
I see no reason not to make ALGOL live, it's been experimental for over a year and both the language and the implementation are very stable with the latter having received many updates in this time. I've added the language to the Archivist cheevo too, it's close but I think it qualifies, it was created in 1968 with ISBN being formally standardised and published in 1970. If anything we might want to remove Common Lisp from the cheevo, as while Lisp is from the 50s, Common Lisp is from the 80s. Closes #856
1 parent f5c246c commit 97670ea

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

config/data/cheevos.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ name = 'Archivist'
110110
emoji = '📚'
111111
description = 'Solve <a href=/isbn>ISBN</a> in any three languages that predate ISBN.'
112112
holes = ['isbn']
113-
langs = ['basic', 'cobol', 'common-lisp', 'forth', 'fortran']
113+
langs = ['algol-68', 'basic', 'cobol', 'common-lisp', 'forth', 'fortran']
114114
target = 3
115115

116116
[['Hole/Lang Specific']]

config/data/langs.toml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,11 @@ x is a no-op.
4040
'''
4141

4242
['ALGOL 68']
43-
args = [ '/usr/bin/algol-68', '--execute', '$code', '--exit' ]
44-
experiment = 856
45-
size = '1.40 MiB'
46-
version = 'Algol 68 Genie 3.10.10'
47-
website = 'https://jmvdveer.home.xs4all.nl/en.algol-68-genie.html'
48-
example = '''
43+
args = [ '/usr/bin/algol-68', '--execute', '$code', '--exit' ]
44+
size = '1.40 MiB'
45+
version = 'Algol 68 Genie 3.10.10'
46+
website = 'https://jmvdveer.home.xs4all.nl/en.algol-68-genie.html'
47+
example = '''
4948
# Printing #
5049
printf($"Hello, World!"l$);
5150

sql/b-earn-cheevos.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ BEGIN
5757

5858
-- 📚 Archivist
5959
SELECT COUNT(*) >= 3 INTO found FROM UNNEST(langs_for_hole)
60-
WHERE unnest IN ('basic', 'cobol', 'common-lisp', 'forth', 'fortran');
60+
WHERE unnest IN
61+
('algol-68', 'basic', 'cobol', 'common-lisp', 'forth', 'fortran');
6162
IF hole = 'isbn' AND found THEN
6263
earned := earn(earned, 'archivist', user_id); END IF;
6364

0 commit comments

Comments
 (0)