Astronomical seeing: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>Trappist the monk
en>Trappist the monk
m →‎The Kolmogorov model of turbulence: Remove unnecessary |display-author= parameters from CS1 templates; using AWB
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
'''HAL/S''' ('''''H'''igh-order '''A'''ssembly '''L'''anguage'''/S'''huttle'')<ref>{{cite web|title=STS Software|url=http://science.ksc.nasa.gov/shuttle/technology/sts-newsref/sts-av.html#sts-dps-software|work=NSTS 1988 News Reference Manual|publisher=NASA|accessdate=2011-03-30}}</ref>  is a [[real-time computing|real-time]] [[aerospace]] [[programming language]], best known for its use in the [[Space Shuttle program]].<ref>http://www.sqlite.org/talks/wroclaw-20090310.pdf</ref>  It was designed by [[Intermetrics]] in the 1970s for [[NASA]]. HAL/S is written in [[XPL]], a dialect of [[PL/I]].


==Goals and principles==
The three key principles in designing the language were reliability, efficiency, and [[Software portability|machine-independence]]. The language is designed to allow aerospace-related tasks (such as [[vector (geometry)|vector]]/[[matrix (mathematics)|matrix]] arithmetic) to be accomplished in a way that is easily understandable by people who have spaceflight knowledge, but may not necessarily have proficiency with computer programming.


HAL/S was designed not to include some constructs that are thought to be the cause of [[computer bug|error]]s. For instance, there is no support for dynamic memory allocation. The language provides special support for [[real-time computing|real-time]] execution environments.
Roberto is the name [http://search.usa.gov/search?query=I+personally I personally] love to be rang with although it can be not the name on my birth certificate. I am a cashier. My company say it's not really for me but [http://thesaurus.com/browse/precisely precisely] what I love doing has been to drive but Herbal bud been taking on unique things lately. My house is so in Vermont. I've been working on my husband and my website for some point in time now. Check it competeing here: http://prometeu.net<br><br>Feel free to visit my web-site - [http://prometeu.net Hack Clash Of Clans Gems]
 
Some features, such as "[[GOTO]]" were provided chiefly to ease mechanical translations from other languages.<ref>[http://klabs.org/richcontent/software_content/hal_s/programming_in_hal-s.pdf ''Programming in HAL/S'', page 82]</ref>
 
On the Preface page of the HAL/S Language Specification,<ref>[http://klabs.org/richcontent/software_content/hal_s/hal-s_language_specification.pdf ''HAL/S Language Specification'']</ref> 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]].
 
A proposal for a NASA standard ground-based version of HAL named HAL/G for "ground" was proposed, but the coming emergence of the soon to be named [[Ada (programming language)|Ada]] programming language contributed to Intermetrics' lack of interest in continuing this work. Instead, Intermetrics would place emphasis on what would be the "Red" finalist which would not be selected.
 
==Syntax==
HAL/S is a mostly [[free-form language]]: statements may begin anywhere on a line and may spill over the next lines, and multiple statements may be fit onto the same line if required. However, non-space characters in the first column of a program line may have special significance. For instance, the letter 'C' in the first column indicates that the whole line is a [[Comment (computer programming)|comment]] and should be ignored by the compiler.
 
One particularly interesting feature of HAL/S is that it supports, in addition to a normal single line text format, an optional three-line input format in which three source code lines are used for each statement. In this format, the first and third lines are usable for superscripts (exponents) and subscripts (indices). The multi-line format was designed to permit writing of HAL/S code that is similar to [[mathematical notation]].  
 
As an example, the statement <math>x = a^2 + b_i^2</math> could be written in single-line format as:
<code>
X = A ** 2 + B$(I) ** 2 </code>
[[Exponentiation]] is denoted by two [[asterisk]]s, as in PL/I and [[Fortran]]. The subscript <math>i</math> is denoted by a [[dollar sign]],with the subscript expression enclosed in [[parenthesis|parentheses]]. The same code fragment could be written in multiple-line format as:
E      2    2
M  X = A  + B
S            I </code>
In the example, the base line of the statement is indicated by an 'M' in the first column, the exponent line is indicated by an 'E', and the subscript line is indicated by an 'S'.
 
==Data types==
HAL/S has native support for [[integer]]s, [[floating point]] [[Variable (computing)|scalars]], [[vector (mathematics and physics)|vector]], [[matrix (mathematics)|matrices]], [[boolean data type|boolean]]s and [[string (computer science)|string]]s of 8-bit characters, limited to a maximum length of 255. Structured types may be composed using a <code>DECLARE STRUCT</code> statement.
 
==See also==
*[[IBM AP-101]] space shuttle avionics computer
* [[Fortress (programming language)|Fortress]], a programming language with advanced syntactic support for mathematical expressions
 
==References==
{{Reflist|2}}
 
==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''] &ndash; By George Tomayko (Appendix II: "HAL/S, A Real-Time Language for Spaceflight")
 
{{DEFAULTSORT:Hal S}}
[[Category:Spacecraft components]]
[[Category:Embedded systems]]
[[Category:Avionics programming languages]]
[[Category:High Integrity Programming Language]]

Latest revision as of 16:40, 30 December 2014


Roberto is the name I personally love to be rang with although it can be not the name on my birth certificate. I am a cashier. My company say it's not really for me but precisely what I love doing has been to drive but Herbal bud been taking on unique things lately. My house is so in Vermont. I've been working on my husband and my website for some point in time now. Check it competeing here: http://prometeu.net

Feel free to visit my web-site - Hack Clash Of Clans Gems