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

⟦5777568a2⟧ Ada Source

    Length: 7168 (0x1c00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Une_Valeur, seg_043450

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 Erreur, Une_Condition, Compare_Clavier, Un_Nombre, Un_Id_Compose,
     Une_Valeur1, Une_Valeur2, Un_Terme1, Un_Nombre1, Un_Terme;

package body Une_Valeur is

    procedure Parse is
    begin
        if Lex.Get_Token = Et then
            Lex.Next;
            if Lex.Get_Token = Left_Bracket then
                Lex.Next;
                Une_Condition.Parse;
                if Lex.Get_Token = Coma then
                    Lex.Next;
                    Une_Condition.Parse;
                    if Lex.Get_Token = Right_Bracket then
                        Lex.Next;
                    else
                        Erreur.Parse ("il manque ')'");
                    end if;
                else
                    Erreur.Parse ("il manque ','");
                end if;
            else
                Erreur.Parse ("il manque '('");
            end if;
        else
            if Lex.Get_Token = Ou then
                Lex.Next;
                if Lex.Get_Token = Left_Bracket then
                    Lex.Next;
                    Une_Condition.Parse;
                    if Lex.Get_Token = Coma then
                        Lex.Next;
                        Une_Condition.Parse;
                        if Lex.Get_Token = Right_Bracket then
                            Lex.Next;
                        else
                            Erreur.Parse ("il manque ')'");
                        end if;
                    else
                        Erreur.Parse ("il manque ','");
                    end if;
                else
                    Erreur.Parse ("il manque '('");
                end if;
            else
                if Lex.Get_Token = Non then
                    Lex.Next;
                    Une_Condition.Parse;
                else
                    if Lex.Get_Token = Entree_Clavier then
                        Lex.Next;
                        Compare_Clavier.Parse;
                    else
                        if Lex.Get_Token = Vrai then
                            Lex.Next;
                        else
                            if Lex.Get_Token = Faux then
                                Lex.Next;
                            else
                                if Lex.Get_Token = Sentence then
                                    Lex.Next;
                                else
                                    if Lex.Get_Token = Left_Bracket then
                                        Lex.Next;
                                        Un_Nombre.Parse;
                                        Une_Valeur1.Parse;
                                    else

                                        if Lex.Get_Token = Identifier then
                                            Un_Id_Compose.Parse;
                                            Une_Valeur2.Parse;
                                        else
                                            if Lex.Get_Token = Number then
                Lex.Next;
                Un_Terme1.Parse;
                Un_Nombre1.Parse;
                                            else
                if Lex.Get_Token = Plus then
                    Lex.Next;
                    Un_Terme.Parse;
                    Un_Nombre1.Parse;
                else
                    if Lex.Get_Token = Minus then
                        Lex.Next;
                        Un_Terme.Parse;
                        Un_Nombre1.Parse;

                        Erreur.Parse
                           (" il manque soit '+','_','integer','(','faux','vrai','entree_clavier','non','ou','et',ou alors une phrase ou un identificateur");


                    end if;  
                end if;
                                            end if;
                                        end if;
                                    end if;

                                end if;
                            end if;
                        end if;
                    end if;
                end if;
            end if;
        end if;
    end Parse;

end Une_Valeur;



E3 Meta Data

    nblk1=6
    nid=0
    hdr6=c
        [0x00] rec0=1f rec1=00 rec2=01 rec3=01a
        [0x01] rec0=00 rec1=00 rec2=03 rec3=01e
        [0x02] rec0=19 rec1=00 rec2=04 rec3=02e
        [0x03] rec0=14 rec1=00 rec2=02 rec3=05c
        [0x04] rec0=1a rec1=00 rec2=06 rec3=02a
        [0x05] rec0=0b rec1=00 rec2=05 rec3=001
    tail 0x2153ecde686357f69a15d 0x42a00088462060003