GEORGE (programming language): Difference between revisions

Content deleted Content added
Robin400 (talk | contribs)
conditional transfers and subroutine calling was added
categorization/tagging using AWB
Line 1:
In 1957, [[Charles Leonard Hamblin]] invented the programming language '''GEORGE'''.<ref>
C. L. Hamblin [1957]: <i>''An addressless coding scheme based on mathematical notation.</i>'' Proceedings of the First Australian Conference on Computing and Data Processing, Salisbury, South Australia: Weapons Research Establishment, June 1957.</ref>
<ref>C. L. Hamblin [1957]: <i>''Computer Languages.</i>'' The Australian Journal of Science, 20: 135-139. Reprinted in The Australian Computer Journal, 17(4): 195-198 (November 1985).</ref>
It was designed around a push-down pop-up stack for arithmetic operations, and employed reverse Polish notation.
The language included loops, subroutines, conditionals, vectors, and matrices.
Line 33:
 
Manipulation of vectors and matrices requires subscript notation. In GEORGE, the subscript(s) preceded the vector or matrix name. Thus A(j) was written j | A.
The following program reads in vector <i>''a</i>'' of 10 values, then forms the squares of those values, and finally prints those values.
<pre>
1, 10 R1 (a)
Line 47:
 
{| class="wikitable" style="text-align: center; width: 200px; height: 200px;"
|+ GEORGE coding table<ref><i>''Programming Course,</i>'' School of Electrical Engineering, The University of New South Wales, n.d., p. 24</ref>
|-
! scope="col" |
Line 131:
==References==
<references/>
 
{{Uncategorized|date=June 2012}}