Mortran
   HOME

TheInfoList



OR:

Mortran (More Fortran) is an extension of the Fortran
programming language A programming language is a system of notation for writing computer programs. Programming languages are described in terms of their Syntax (programming languages), syntax (form) and semantics (computer science), semantics (meaning), usually def ...
used for scientific computation. It introduces syntax changes, including the use of semicolons to end statements, in order to improve readability and flexibility. Mortran code is macro-processed into Fortran code for compilation. Example: IF I.NE.J < OUTPUT I,M(J+1); (' Chain',I4,' ends with ',A4); > > Note that Mortran, like many preprocessors, does not make a complete analysis of the Fortran source and, like many preprocessors, may not always make its assumptions/requirements explicit. Consider, for example, Mortran multiple assignment. From the Mortran ''User Guide'': / I, A(I,K), J / = SQRT(X/2.0); produces the following FORTRAN statements: I = SQRT(X/2.0) A(I,K) = SQRT(X/2.0) J = SQRT(X/2.0) In this example, the produced Fortran implements the multiple assignment correctly only if X is not aliased to I or to A(I,K), assuming the multiple assignment semantics are left to right. The MORTRAN2 processor is written in ANSI standard Fortran 66, with the only extension the ability to assign and compare character data stored in INTEGER variables. The SKOL programming language, written by Charles Zahn in the mid-1970s, was implemented with MORTRAN macros. SKOL supported advanced features including his situation case statement, and
ALGOL-W ALGOL W is a programming language. It is based on a proposal for ALGOL X by Niklaus Wirth and Tony Hoare as a successor to ALGOL 60. ALGOL W is a relatively simple upgrade of the original ALGOL 60, adding string, bitstring, complex number and r ...
-like structured data records and references.


References


External links


Using MORTRAN 2 (Stanford document)A Users Guide to MORTRAN 2MORTRAN3 Users GuideMortran lecture
(Japanese) from
KEK , known as KEK, is a Japanese organization whose purpose is to operate the largest particle physics laboratory in Japan, situated in Tsukuba, Ibaraki prefecture. It was established in 1997. The term "KEK" is also used to refer to the laboratory ...
(
PDF Portable document format (PDF), standardized as ISO 32000, is a file format developed by Adobe Inc., Adobe in 1992 to present documents, including text formatting and images, in a manner independent of application software, computer hardware, ...
)
History of Programming Languages:MortranEmacs major mode for editing Mortran source

The SKOL Programming Language Reference Manual
Fortran programming language family {{Compu-lang-stub