ABC ALGOL : a portable language for formula manipulation systems - Part 2 The compiler
R.P. Riet, van de · Centrum Wiskunde & Informatica (CWI), the national research institute for mathematics and computer science in the Netherlands · 1976
The above integers are global in the translation process.Their values point to the inforrmtion cells of the last two treated ~ s. 6.1.Prerequisites for translation process Syntactic definition: ::= l A program may be preceded by comment.Algorithm:; procedure envelope of block(procedure body); value procedure body; integer procedure body; begin integer ptr to integer, ptr to formula, nr of array seg})Ents, ptr to array segment, max dimension in array declarations; Boolean formula block, dangerous inner block, snn necessary, block contains labels,block contains gotos, block, proc id ass stat, interested in proc id; comment: "envelope of block" translates a block, a compound statement or a statement and treats them all as blocks.It is called f'rom the main program to translate an ABC ALGOL program, f'rom a procedure body (in which case the value of "procedure body'' is =I= 0 indicating where the information about the procedure may be found) or for the translation of a real block.~ contents of [a + 4] := a0; a0:= a end; a:= a3 end; reverse:=~ end; ptr to fo:rnula:= a0; if formula block~ begin PR int corn; PR string( {fun:!-); if snn necessary then PR string(-1:,snn:!-); PR string(-!:;fun:= gm:!-) end; if-, first then PR string(-!:;:!-) end Declare integers; procedure Introduce names for fo: