|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 6144 (0x1800)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Block, seg_037e0b, seg_03941d, seg_03953d
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with Arguments;
with Block_Class;
with Errors;
with Statements;
with Trace;
with Unparser;
package body Block is
type Node_Structure is
record
Line : Natural;
Stat : Statements.Node := Statements.Empty_Node;
end record;
procedure Parse (N : in out Node) is
begin
Trace.Display ("parsing Block");
N := new Node_Structure;
N.Line := Scanner.Get_Line_Number;
case Scanner.Get_Token is
when Scanner.L_Obra =>
Scanner.Next_Token;
Arguments.Parse;
Statements.Parse (N.Stat);
case Scanner.Get_Token is
when Scanner.L_Cbra =>
Block_Class.Close;
Scanner.Next_Token;
when others =>
raise Errors.Expecting_Closing_Brace;
end case;
when others =>
raise Errors.Expecting_Opening_Brace;
end case;
end Parse;
procedure Unparse (N : Node; Block_Obj : Object.Reference) is
begin
Unparser.New_Right ("{ ");
Unparser.New_Line;
Block_Class.Unparse (Block_Obj);
Statements.Unparse (N.Stat);
Unparser.New_Left ("} ");
Unparser.New_Line;
Trace.Display ("fin unparse block");
end Unparse;
function Is_First (T : Scanner.Token) return Boolean is
use Scanner;
begin
return T = Scanner.L_Obra;
end Is_First;
function Interpret (N : Node) return Object.Reference is
begin
Errors.Save_Interpret_Line (N.Line);
return Statements.Interpret (N.Stat);
Trace.Display ("fin interpretation Block");
end Interpret;
end Block;
nblk1=5
nid=3
hdr6=4
[0x00] rec0=23 rec1=00 rec2=01 rec3=004
[0x01] rec0=1f rec1=00 rec2=02 rec3=000
[0x02] rec0=02 rec1=00 rec2=03 rec3=000
[0x03] rec0=0a rec1=00 rec2=03 rec3=000
[0x04] rec0=80 rec1=00 rec2=00 rec3=100
tail 0x21531317284e58d7a6ff7 0x42a00088462060003
Free Block Chain:
0x3: 0000 00 05 00 06 00 00 00 00 00 00 6e 64 20 42 6c 6f ┆ nd Blo┆
0x5: 0000 00 04 00 f6 00 45 20 20 20 20 20 20 20 20 20 20 ┆ E ┆
0x4: 0000 00 00 03 fc 80 1c 20 20 20 20 20 20 20 20 20 20 ┆ ┆