FACTOID # 121: Houses in English-speaking countries have the most rooms.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

SEARCH ALL

FACTS & STATISTICS    Advanced view

Search encyclopedia, statistics and forums:

 

 

(* = Graphable)

 

 


Encyclopedia > ALGOL W

Algol-W is a programming language. It was Niklaus Wirth's proposal for a successor to ALGOL 60 in the ALGOL 68 committee.


Algol-W is clearly a transitionary stage between ALGOL 60 and Pascal (created later by Wirth also). It represented a relatively conservative modification of ALGOL 60; to ALGOL 60 Wirth added string, bitstring, complex number and reference to record datatypes and a call-by-result parameter passing mechanism but changed little else.


Like the rest of Wirth's languages (Pascal, Modula-2, Oberon, etc.), Algol-W is small and statically typed. The language that eventually became ALGOL 68 is much larger and more complex than Algol-W, and it differs more from Algol 60 than Algol-W does.


Code Sample

 record PERSON ( string NAME; integer AGE; logical MALE; reference(PERSON) FATHER, MOTHER, YOUNGESTOFFSPRING, ELDERSIBLING reference(PERSON) procedure YOUNGESTUNCLE (reference(PERSON) R); begin reference(PERSON) P, M; P := YOUNGESTOFFSPRING(FATHER(FATHER(R))); while (P = null) and ( MALE(P)) or (P = FATHER(R)) do P := ELDERSIBLING(P); M := YOUNGESTOFFSPRING(MOTHER(MOTHER(R))); while (M = null) and ( MALE(M)) do M := ELDERSIBLING(M); if P = null then M else if M = null then P else if AGE(P) < AGE(M) then P else M end 

External References

Stanford Computer Science Department Technical Report CS-TR-68-89 (http://www-db.stanford.edu/TR/CS-TR-68-89.html) Various documents for Stanford University's 1972 implementation of Algol-W. The report includes the Algol W Language Description.


  Results from FactBites:
 
ALGOL - Wikipedia, the free encyclopedia (1128 words)
ALGOL (short for ALGOrithmic Language) is a family of imperative computer programming languages originally developed in the mid 1950s which became the de facto standard way to report algorithms in print for almost the next 30 years.
It was revised and expanded by Peter Naur to the Backus-Naur form for ALGOL 60.
ALGOL 68 was defined using a two-level grammar formalism invented by Adriaan van Wijngaarden and which bears his name.
ALGOL W - Wikipedia, the free encyclopedia (200 words)
It was Niklaus Wirth's proposal for a successor to ALGOL 60 in the ALGOL 68 committee.
It represented a relatively conservative modification of ALGOL 60; Wirth added string, bitstring, complex number and reference to record datatypes and call-by-result passing of parameters, but changed little else.
Algol W @ Everything2 An informal but detailed description of the language by a former user, with sidebars extolling Algol W over Pascal as an Educational programming language.
  More results at FactBites »


 
 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms, 1022, m