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

⟦a6a433984⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body List, seg_036177, seg_036397, seg_03690b

Derivation

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

E3 Source Code



with Object, Scanner, Table, Bug;
package body List is

    procedure Parse (Keyword_List : in out Message.List;
                     Id_List : in out Message.List;
                     Symbol : in out Table.Symbol_Kind) is
        Keyword, Id : Message.Tiny_String;
        In_Table : Boolean := False;  
        Void_Object : Object.Reference := Object.Void_Reference;
        use Scanner;
    begin
        if Scanner.Get_Token = Scanner.T_Keyword then
            Keyword := Scanner.Get_Value;
            Keyword_List := Message.Put (Keyword_List, Keyword);
            Scanner.Next;  
            if Scanner.Get_Token /= Scanner.T_Identifier then
                raise Bug.Missing_Identifier;
            end if;  
            Id := Scanner.Get_Value;
            Table.Find (The_Table => Symbol,
                        Name => Id,
                        New_Reference => Void_Object,
                        Success => In_Table);
            if not In_Table then
                Table.Insert (The_Table => Symbol,
                              Name => Id,
                              New_Reference => Void_Object);
            end if;

            Id_List := Message.Put (L => Id_List, Mess => Id);
            Scanner.Next;
            if Scanner.Get_Token = Scanner.T_Keyword then
                Parse (Keyword_List, Id_List, Symbol);
            elsif Scanner.Get_Token = Scanner.T_Identifier then
                raise Bug.Mismatch_Arguments_List;
            end if;
        else
            if Scanner.Get_Token /= Scanner.T_Identifier then
                raise Bug.Missing_Identifier;
            end if;
            Id := Scanner.Get_Value;
            Table.Find (The_Table => Symbol,
                        Name => Id,
                        New_Reference => Void_Object,
                        Success => In_Table);
            if not In_Table then
                Table.Insert (The_Table => Symbol,
                              Name => Id,
                              New_Reference => Void_Object);
            end if;  
            Id_List := Message.Put (L => Id_List, Mess => Id);
            Scanner.Next;
            if Scanner.Get_Token = Scanner.T_Identifier then
                Parse (Keyword_List, Id_List, Symbol);  
            elsif Scanner.Get_Token = Scanner.T_Keyword then
                raise Bug.Mismatch_Arguments_List;
            end if;
        end if;
    end Parse;

end List;


E3 Meta Data

    nblk1=4
    nid=2
    hdr6=6
        [0x00] rec0=19 rec1=00 rec2=01 rec3=03a
        [0x01] rec0=18 rec1=00 rec2=03 rec3=014
        [0x02] rec0=10 rec1=00 rec2=04 rec3=000
        [0x03] rec0=11 rec1=00 rec2=02 rec3=000
    tail 0x217330acc84dd8d0271ee 0x42a00088462060003
Free Block Chain:
  0x2: 0000  00 00 02 51 80 2f 20 20 20 20 20 20 54 61 62 6c  ┆   Q /      Tabl┆