HAL/S

HAL/S

HAL/S is a real-time aerospace programming language, best known for its use in the Space Shuttle program. It was designed by Intermetrics in the 1970s for NASA. HAL/S is written in XPL, a dialect of PL/I.

The three key factors in writing the language were reliability, efficiency, and machine-independence. The language is designed to allow aerospace-related tasks (such as vector/matrix arithmetic) to be accomplished in a way that is easily understandable to people who have spaceflight knowledge, but may not necessarily have proficiency with computer programming.

HAL/S is designed without many of the constructs that are known to be the cause of many errors. There are no abbreviations for keywords, and keywords are all reserved so that they cannot also be used as variables.

Some features, such as "GOTO" are provided chiefly to ease mechanical translations from other languages. [ [http://klabs.org/richcontent/software_content/hal_s/programming_in_hal-s.pdf] "Programming in HAL/S", page 82]

Considerations such as this are designed to reduce the chances of errors occurring, and also make it easy for others to read and understand the programs produced (self-documenting code).

HAL is not an acronym. On the Preface page of the HAL/S Language Specification [ [http://klabs.org/richcontent/software_content/hal_s/hal-s_language_specification.pdf] "HAL/S Language Specification"] , it says,:"....fundamental contributions to the concept and implementation of MAC were made by Dr. J. Halcombe Laning of the Draper Laboratory.""HAL" was suggested as the name of the new language by Ed Copps, a founding director of Intermetrics, to honor Hal Laning, a colleague at MIT.

One particularly interesting feature of HAL is that it supports a three-line input format in which three source code lines are used for each statement, with the first and third lines usable for superscripts (exponents) and subscripts (indices). This was designed to be similar to mathematical notation.

ee also

*IBM AP-101 space shuttle avionics computer

External links

* [http://klabs.org/DEI/Processor/shuttle/ NASA Office of Logic Design: Space Shuttle Computers and Avionics] :*Includes [http://klabs.org/richcontent/software_content/hal_s/hal-s_language_specification.pdf language] and [http://klabs.org/richcontent/software_content/hal_s/hal-s_compiler_system_specification.pdf compiler] specifications, [http://klabs.org/richcontent/software_content/hal_s/hal-s_programmers_guide.pdf programmer's guide] , and [http://klabs.org/richcontent/software_content/hal_s/hal-s-fc_users_manual.pdf user manual] .
* [http://www.hq.nasa.gov/office/pao/History/computers/Appendix-II.html "Computers in Spaceflight: The NASA Experience"] – By George Tomayko (Appendix II: "HAL/S, A Real-Time Language for Spaceflight")

References


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • halələnmə — «Halələnmək»dən f. is …   Azərbaycan dilinin izahlı lüğəti

  • hal — hal·a·car·i·dae; hal·ate; hal·a·zone; hal·berd; hal·berd·ier; hal·chid·ho·ma; hal·dane s; hal·dan·ite; hal·du; hal·e·co·mor·phi; hal·e·cos·to·mi; hal·fa; hal·i·ae·e·tus; hal·i·but; hal·i·but·er; hal·i·car·nas·si·an; hal·i·choe·rus;… …   English syllables

  • Hal — steht für: HAL 9000, der Computer in den Filmen: „2001: Odyssee im Weltraum“ und „2010 – Das Jahr, in dem wir Kontakt aufnehmen“ (9000) Hal, ein Hauptgürtelasteroid, dessen Name auf den vorstehenden Computer anspielt. HAL Dhruv, ein indischer… …   Deutsch Wikipedia

  • Hal — Cette page d’homonymie répertorie les différents sujets et articles partageant un même nom. HAL est un sigle composé des trois lettres H, A et L et un acronyme, qui signifie : HAL 9000, l ordinateur du film 2001 : l odyssée de l espace, HAL… …   Wikipédia en Français

  • hal — s.n. Stare rea, situaţie vrednică de plâns. ♢ loc. adv. În aşa hal (că)... = în aşa măsură (că)... Într un hal... sau Într un hal fără (de) hal = în cea mai proastă stare. ♢ expr. A nu avea hal să... = a nu fi în stare, a nu putea să... – Din tc …   Dicționar Român

  • HAL — steht für: HAL 9000, der Computer in den Filmen: „2001: Odyssee im Weltraum“ und „2010 – Das Jahr, in dem wir Kontakt aufnehmen“ (9000) Hal, ein Hauptgürtelasteroid, dessen Name auf den vorstehenden Computer anspielt. HAL Dhruv, ein indischer… …   Deutsch Wikipedia

  • Hal — puede referirse a: HAL 9000: Personaje de la saga iniciada con 2001: Una odisea del espacio. HΛL: Banda musical japonesa. HAL (software): Capa de abstracción software para acceder al hardware en Linux y Windows. (En inglés: en:HAL (software)) HAL …   Wikipedia Español

  • HAL 5 — HAL, or Hybrid Assistive Limb, is an artificial powered exoskeleton suit currently in development by Tsukuba University of Japan, and still slated for production in the near future, as of October 2006, pending field testing. [… …   Wikipedia

  • HAL — может значить: по отношению к программному обеспечению, Hardware abstraction layer общая статья о слоях аппаратных абстракций HAL (freedesktop.org) слой аппаратных абстракций от freedesktop.org; HAL/S, язык программирования, используемый на… …   Википедия

  • Hal — /hal/, n. a male given name, form of Harold. Chem. halogen. * * * In Sufism, a state of mind reached from time to time by mystics during their journey toward God. The aḥwāl (plural of ḥāl) are God given graces that appear when a soul is purified… …   Universalium

Share the article and excerpts

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