Content deleted Content added
No edit summary |
JohnGDallman (talk | contribs) Improved the English a little. |
||
(25 intermediate revisions by 24 users not shown) | |||
Line 1:
{{Short description|Early higher-level language for electronic computers}}
{{about|the early computer language Short Code|the use of this term in connection with telecommunications|Short code}}
{{Infobox programming language
Line 4 ⟶ 5:
| paradigm =
| released = {{Start date|1950}}
| developer = William F
| influenced by = [[ENIAC Short Code]]
| influenced = [[Intermediate programming language]], [[OMNIBAC Symbolic Assembler]]
}}
'''Short Code''' was one of the first higher-level languages
==History==
Short Code was proposed by [[John Mauchly]] in 1949 and originally known as
While Short Code represented expressions, the representation itself was not direct and required a process of manual conversion. Elements of an expression were represented by two-character codes and then divided into 6-code groups in order to conform to the 12
<syntaxhighlight lang="c">
a = (b + c) / b * c
</syntaxhighlight>
was converted to Short Code by a sequence of substitutions and a final regrouping:
<syntaxhighlight lang="c">
X3 = ( X1 + Y1 ) / X1 * Y1 substitute variables
X3 03 09 X1 07 Y1 02 04 X1 Y1 substitute operators and parentheses.
Note
07Y10204X1Y1 group into 12-byte words.
0000X30309X1
</syntaxhighlight>
Along with basic [[arithmetic]], Short Code allowed for branching and calls to a library of functions. The language was [[interpreter (computing)|interpreted]] and ran about 50 times slower than [[machine code]].<ref>
== See also ==
Line 34 ⟶ 39:
==References==
{{reflist}}
* Wexelblat, Richard L. (Ed.) (1981). <em>History of Programming Languages</em>, p. 9. New York: Academic Press. ISBN 0-12-745040-8▼
* Murdoch, [http://hopl.murdoch.edu.au/showlanguage.prx?exp=2707&language=SHORT%20CODE Short Code] (HOPL)▼
==External links==
▲* Wexelblat, Richard L. (Ed.) (1981).
▲*
[[Category:Procedural programming languages]]
[[Category:Programming languages created in
|