Category:ALGOL-M: Difference between revisions

From Rosetta Code
Content added Content deleted
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
{{stub}}{{language|ALGOL-M}}
{{stub}}{{language|ALGOL-M}}
[[ALGOL]] for microcomputers (specifically the 8080), developed in 1976-77 by John P. Flynn and Mark S. Moranville as their master's thesis at the Naval Postgraduate School. Although modeled after [[ALGOL 60]], there was no attempt to make it a formal subset of that seminal language. However, the basic structure of ALGOL-M was similar enough to ALGOL-60 to allow simple conversion of programs from one language to the other. This was considered particularly useful in view of the fact that the standard publication language at that time was ALGOL 60, and there existed a large body of application programs and library procedures which could easily be converted to execute under ALGOL-M. Input/Output was loosely modeled after that of [[ALGOL-W]]. In place of ALGOL 60's REAL data type for floating point computations, ALGOL-M provided a DECIMAL floating point data type offering up to 15 digits of precision. The standard functions (SQRT, SIN, ENTIER, etc) of ALGOL 60 were unfortunately omitted. Parameters to user-defined functions and procedures were passed by value. Arrays, sadly, could not be passed as parameters.
[[ALGOL]] for microcomputers (specifically the 8080), developed in 1976-77 by John P. Flynn and Mark S. Moranville. Based on [[ALGOL 60]]. It was the first structured programming language for a microcomputer. Compiled to virtual machine code.

Latest revision as of 14:08, 29 October 2021

This page is a stub. It needs more information! You can help Rosetta Code by filling it in!
Language
ALGOL-M
This programming language may be used to instruct a computer to perform a task.
See Also:


Listed below are all of the tasks on Rosetta Code which have been solved using ALGOL-M.

ALGOL for microcomputers (specifically the 8080), developed in 1976-77 by John P. Flynn and Mark S. Moranville as their master's thesis at the Naval Postgraduate School. Although modeled after ALGOL 60, there was no attempt to make it a formal subset of that seminal language. However, the basic structure of ALGOL-M was similar enough to ALGOL-60 to allow simple conversion of programs from one language to the other. This was considered particularly useful in view of the fact that the standard publication language at that time was ALGOL 60, and there existed a large body of application programs and library procedures which could easily be converted to execute under ALGOL-M. Input/Output was loosely modeled after that of ALGOL-W. In place of ALGOL 60's REAL data type for floating point computations, ALGOL-M provided a DECIMAL floating point data type offering up to 15 digits of precision. The standard functions (SQRT, SIN, ENTIER, etc) of ALGOL 60 were unfortunately omitted. Parameters to user-defined functions and procedures were passed by value. Arrays, sadly, could not be passed as parameters.