Compiler/code generator: Difference between revisions

Content added Content deleted
(Added Algol W)
Line 287: Line 287:
% code - although this is intended to be byte code, as we are going to output %
% code - although this is intended to be byte code, as we are going to output %
% an assembler source, we use integers for convenience %
% an assembler source, we use integers for convenience %
% labelLocations are: ( - referencing location + 1 ) if they have been referenced but not defined yet, %
% labelLocations are: - ( referencing location + 1 ) if they have been referenced but not defined yet, %
% zero if they are unreferenced and undefined, %
% zero if they are unreferenced and undefined, %
% ( referencing location + 1 ) if they are defined %
% ( referencing location + 1 ) if they are defined %