Subroutine threaded code to support top-down development of structured programs in DSSP for ternary computer
In research laboratory of ternary informatics leaded by Brusentsov N. P. at the Computer Science (CS) department of the Moscow State University (MSU) the ternary virtual machine (TVM) and cross-system (DSSP-TVM) for development of programs for it using the DSSP-T language are created. Ternary virtual machine (TVM) is a simulator of ternary computer, which architecture has two stacks (data stack and control stack) and machine commands for structured programming like «Setun-70». Two variants of Dialogue System of Structured Programming (DSSP) for TVM have been constructed. DSSP-TVM lets it possible to create DSSP-program for TVM by means of cross-compiler. DSSP/TVM is a dialogue interpreter, which can run on TVM as its resident soft-ware. Programming language DSSP-T used in both systems is a ternary version of language of the DSSP. The main problem during realization of the DSSP-TVM cross-compiler and the DSSP/TVM dialogue interpreter is how to support top-down development of structured program. Variants of solving this problem in DSSP for TVM are explained.