Category:ALGOL 68 dialect

From Wikipedia, the free encyclopedia
Jump to: navigation, search
The main article for this category is ALGOL 68.

These computer languages do not adhere to ALGOL 68's precise definition by the IFIP Working Group 2.1; however,they strive to "look like" ALGOL 68 and have incorporated many of its most useful or obvious features.

Most obvious features can be seen in the use of the somewhat reverent closing brackets, examples:

  • if choice clauses:
 if condition then statements [ else statements ] fi
  • do loop clause:
 [ for index ] [ from first ] [ by increment ] [ to last ] [ while condition ] do statements od
 The minimum form of a "loop clause" is thus: do statements od

This was considered the "universal" loop, the full syntax is:

for i from 1 by 2 to 3 while i≠4 do ~ od

These dialects may include ALGOL 68's truncated reserved words: proc, int, real, long, short or even bool etc.

Useful features typically include ALGOL 68's array slicing, the ability to create operators, the availability of bracketing ( ~ ) as an alternative to begin ~ end and the ability of statements to return values.


STAPLE (programming language)[edit]

A programming language written at Manchester University and used at ICL in the early 1970s for writing the test suites. STAPLE was based on Algol 68 and had a very advanced optimising compiler. c.f. FOLDOC

Pages in category "ALGOL 68 dialect"

The following 6 pages are in this category, out of 6 total. This list may not reflect recent changes (learn more).