Skip to main content

Questions tagged [algol]

Questions about the Algol languages: Algol 58 (IAL), Algol 60, Algol 68.

6 votes
1 answer
345 views

Turns out that the original, machine-readable markup form of the Revised Report on the Algorithmic Language Algol 68 is online, hosted by Dick Grune. It is filled with incantations and weird syntax. ...
texdr.aft's user avatar
  • 3,930
2 votes
1 answer
461 views

I'm trying to run an old Rogalgol Algol60 compiler b ut not having very much luck on Windows 10. Currently building an XP VM to see if that will work. In Algol 60, we can have a FAT COMMA or inline ...
cup's user avatar
  • 3,165
16 votes
2 answers
596 views

For my sins I seem to have adopted a very old compiler suite, the Amsterdam Compiler Kit. It contains a rather bodged-together Algol 68S compiler, written in an extremely custom dialect of Pascal, ...
David Given's user avatar
  • 1,546
6 votes
3 answers
538 views

There was an implementation of Algol-68 on PDP-11, which is present in the form of raw binary files, allegedly from RSX-11M, and UNIX V7 loaders/adapters for them in the form of Assembly language ...
Leo B.'s user avatar
  • 22.3k
3 votes
0 answers
247 views

Algol 58 had a do statement that performed a kind of macro substitution. It is described on page 16 in the preliminary report. Even though the language was intentionally drafty and incomplete, various ...
texdr.aft's user avatar
  • 3,930
13 votes
2 answers
1k views

In his paper The Dijkstra–Zonneveld ALGOL 60 compiler for the Electrologica X1 F.E.J. Kruseman Aretz presents his attempt at reproducing the functionality of the original compiler, written in the ...
Leo B.'s user avatar
  • 22.3k
4 votes
2 answers
304 views

Reading the report on the first Algol 60 compiler in the world, namely the Dijkstra-Zonneveld ALGOL 60 compiler for the Electrologica X1, which contains the Pascal source faithfully reproducing its ...
Leo B.'s user avatar
  • 22.3k
13 votes
2 answers
2k views

The CWI software archive on GitHub contains the Algol-60 source code for a gomoku-like game. It is runnable with your favorite Algol-60 compiler and a little elbow grease (in particular, taking the ...
Leo B.'s user avatar
  • 22.3k
11 votes
6 answers
2k views

In Algol 68, is it legal to say this? proc even = (int x) bool: (x = 0 | true | odd(x – 1)); proc odd = (int x) bool: (x = 0 | false | even(x – 1)); Forward references in structures are used in the ...
texdr.aft's user avatar
  • 3,930
17 votes
2 answers
1k views

In Algol 68, I can declare the priority (precedence) of an operator-symbol: prio @ = 5; (Higher number means higher precedence). I can apparently redefine the priorities of built-in operators: ...
dave's user avatar
  • 41.5k
11 votes
3 answers
2k views

What follows are the random number generation routines from an ALGOL-60 computational math library, stored on a BESM-6 disk in a text form. The character encoding was with parity, imitating a punched ...
Leo B.'s user avatar
  • 22.3k
3 votes
1 answer
1k views

In Algol 60 procedure declarations, the 'specification' part was optional for by-name parameters. The specification is what gives (loosely speaking) the type of parameter - whether it's real, integer,...
dave's user avatar
  • 41.5k
5 votes
1 answer
387 views

This question is prompted by a related one by texdr.aft. It turns out that the Revised report on Algol-60 allowed numeric labels (3.5.1, page 15), <label> ::= <identifier> | <unsigned ...
Leo B.'s user avatar
  • 22.3k
13 votes
3 answers
1k views

According to a 2019 presentation about Burroughs Extended Algol, the Burroughs B5000 and B5500 (and presumably their descendants) had “Hardware support for Call-by-Name (‘thunks’)”. It goes on to say ...
texdr.aft's user avatar
  • 3,930
16 votes
3 answers
2k views

Preamble As Algol-60 had no reserved words, the language keywords had to be specially marked, e.g. prefixed with an underscore with a trailing space or semicolon (_begin _integer i;i:=42_end), or ...
Leo B.'s user avatar
  • 22.3k

15 30 50 per page