WALGOL

WALGOL

WALGOL (pronounced "wall-gawl") is a popularly used quasi programming language often put into practice by collegiate professors during lecures in order to quickly get their point across in form of algorithm or otherwise. WALGOL is quite essentially a form of pseudocode but is more often a combination of different legitimate programming languages syntax meshed together as a side effect of multiple years of programming or teaching programming in many different languages and then being in an accelerated pace mind set.

History

The exact birth of WALGOL can not be specified to a date, but it is assumed to have been around the time multiple programming languages were taught within a computer science department at major universities, which is now quite the norm.

Differences from Pseudocode

WALGOL is a form of pseudocode but it is a more specific sub set that generally pertains to code that can be picked apart and analyzed to different legitimate programming languages such as the C programming language, the C++ programming language, the Ada programming language, the Java programming language, the Python programming language, among many other programming languages.

ample WALGOL

import stdio.h

int someFunction();Procedure someProcedure(Integer: in out);

public static void main(String args [] ) throws Throwable{ someString = raw_input("Enter a string") someFunction(); int x = 10; someProcedure(x);}

def __init__: main()

Yes, this is a rather drastic demonstration and doesn't appear to do anything constructive in the way of actual programming code or an algorithm, this is simply an example to exhibit some WALGOL traits. Please note that WALGOL can also stray to and from any valid programming language syntax thus a WALGOL program will generally look drastically different depending on the professor.

Compilation Capabilities

Due to the extremely verbose and dynamic aspects of WALGOL, there is no known nor will there ever be a capable compiler but if a professor were to restrict his/her WALGOL syntax down to a finite set then such a task would be feasible. It has been known that some professors will use their own custom brewed version of WALGOL in a static set in order to teach compiler theory classes such that the students must write a compiler for a language that does not technically exist and thus teaching concepts without fear of students "borrowing" code from such things as open source compilers or the like.

External links

* Pseudocode
* Short Code
* Dummy code
* Flowchart
* Pidgin code
* Skeleton program


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”