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

⟦9e89ad64e⟧ Ada Source

    Length: 4096 (0x1000)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Connexions, seg_040d8c

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 Lexical, Erreur, Etat;
use Lexical;

package body Connexions is


    procedure Connexion is
    begin
        if (Lexical.Get_Token = Creer_Connexion) then
            Lexical.Next;
            if (Lexical.Get_Token = Parnto) then
                Lexical.Next;
                if (Lexical.Get_Token = Id) then
                    Lexical.Next;
                    if (Lexical.Get_Token = Virgul) then
                        Lexical.Next;
                        if (Lexical.Get_Token = Id) then
                            Lexical.Next;
                            if (Lexical.Get_Token = Virgul) then
                                Lexical.Next;
                                if (Lexical.Get_Token = Id) then
                                    Lexical.Next;
                                    if (Lexical.Get_Token = Virgul) then
                                        Lexical.Next;
                                        Etat.Parse;
                                        if (Lexical.Get_Token = Parntf) then
                                            Lexical.Next;
                                        else
                                            Erreur.Parse ("Manque )");
                                        end if;
                                    else
                                        Erreur.Parse ("Manque ,");
                                    end if;
                                else
                                    Erreur.Parse ("Mauvais qualificateur");
                                end if;
                            else
                                Erreur.Parse ("Manque ,");
                            end if;
                        else
                            Erreur.Parse ("Mauvais id");
                        end if;
                    else
                        Erreur.Parse ("Manque ,");
                    end if;
                else
                    Erreur.Parse ("Mauvais id");
                end if;
            else
                Erreur.Parse ("Manque (");
            end if;
        else
            Erreur.Parse ("Manque CREER_CONNEXION");
        end if;
    end Connexion;


    function Is_In_First (T : Token) return Boolean is
    begin
        case T is
            when Creer_Connexion =>
                return True;
            when others =>
                return False;
        end case;
    end Is_In_First;

    procedure Parse is
    begin
        Connexion;

        while (Is_In_First (Lexical.Get_Token)) loop

            Connexion;

        end loop;

    end Parse;

end Connexions;

E3 Meta Data

    nblk1=3
    nid=0
    hdr6=6
        [0x00] rec0=1b rec1=00 rec2=01 rec3=01e
        [0x01] rec0=15 rec1=00 rec2=02 rec3=01e
        [0x02] rec0=23 rec1=00 rec2=03 rec3=001
    tail 0x2153b8556861262102e62 0x42a00088462060003