DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦bc52f2693⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Spectacle_Definition, seg_0389ed

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 

E3 Source Code



with Body_Description, Binary_Tree, Symbol;
with Debug;
package body Spectacle_Definition is

    procedure Parse (Success : in out Boolean) is  
        N : Binary_Tree.Node;
        Name : constant String := "Main";  
        Ok : Boolean := True;
    begin  
        N := new Binary_Tree.Node_Structure;
        Symbol.Add_Function (Name);
        Symbol.Set_Start_Point (Name, N);
        Body_Description.Parse (N.Right_Son, Ok);
        Success := Success and Ok;
    end Parse;



    procedure Generate (N : Binary_Tree.Node; T : in out Natural) is
    begin
        Debug.Put (1);
        if not Binary_Tree."=" (N.Right_Son, null) then
            case N.Right_Son.The_Type is
                when Binary_Tree.Null_Type =>
                    Generate (N.Right_Son, T);
                when Binary_Tree.Body_Type =>
                    Body_Description.Generate (N.Right_Son, T);
                when others =>
                    null;
            end case;
        end if;
    end Generate;

end Spectacle_Definition;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1f rec1=00 rec2=01 rec3=012
        [0x01] rec0=05 rec1=00 rec2=02 rec3=001
    tail 0x2173561c284e579049612 0x42a00088462060003