LYaPAS
Logical Language for the Representation of Synthesis Algorithms (LYaPAS, Russian: ЛЯПАС) is a programming language created by Arkady Zakrevsky in the Soviet Union. LYaPAS was initially designed especially for non-numeric programming for the Soviet designed and built Ural-1 line of mainframe computers. LYaPAS uses octal numbers. A further refinement of LYaPAS is LYaPAS-M. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.
Logical Language for the Representation of Synthesis Algorithms (LYaPAS, Russian: ЛЯПАС) is a programming language created by Arkady Zakrevsky in the Soviet Union. LYaPAS was initially designed especially for non-numeric programming for the Soviet designed and built Ural-1 line of mainframe computers. LYaPAS uses octal numbers. A further refinement of LYaPAS is LYaPAS-M. П1 N ↑–2 M;N=R N=M R=N ↑=1 П2 M=D ** Explanation: Program is executed from left to right. П1 and П2 are line labels. Operation N puts the value of the integer variable into the implicit "current value" variable τ, which holds the result of the last operation. Conditional branch operation ↑–2 moves the execution to line 2 if the current value is zero. Expression M;N calculates remainder. Expression =R assigns current value to variable R. ↑=1 is an unconditional branch to line 1. ** is the end marker. All whitespaces are ignored, so the above program is equivalent to the one-liner: П1N↑–2M;N=RN=MR=N↑=1П2M=D** ==References==
Cite this
"LYaPAS". 1779264811. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1355181012 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy