|
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 - download
Length: 3072 (0xc00) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Binary, seg_037e08
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧
with Errors; with More_Binary; with Trace; with Unary; with Unparser; package body Binary is type Node_Structure is record Line : Natural; Unar : Unary.Node := Unary.Empty_Node; More : More_Binary.Node := More_Binary.Empty_Node; end record; procedure Parse (N : in out Node) is begin Trace.Display ("parsing Binary"); N := new Node_Structure; N.Line := Scanner.Get_Line_Number; if Unary.Is_First (Scanner.Get_Token) then Unary.Parse (N.Unar); More_Binary.Parse (N.More); else raise Errors.Expecting_Unary; end if; end Parse; procedure Unparse (N : Node) is begin Unary.Unparse (N.Unar); More_Binary.Unparse (N.More); Trace.Display ("fin unparse binary"); end Unparse; function Is_First (T : Scanner.Token) return Boolean is use Scanner; begin return Unary.Is_First (T); end Is_First; function Interpret (N : Node) return Object.Reference is Result : Object.Reference; begin Errors.Save_Interpret_Line (N.Line); Result := Unary.Interpret (N.Unar); Result := More_Binary.Interpret (N.More, Result); Trace.Display ("fin interpretation Binary"); Trace.Display (Result); return Result; end Interpret; end Binary;
nblk1=2 nid=0 hdr6=4 [0x00] rec0=26 rec1=00 rec2=01 rec3=028 [0x01] rec0=13 rec1=00 rec2=02 rec3=001 tail 0x21531312284e58d5d5444 0x42a00088462060003