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

⟦c0f7dcf71⟧ Ada Source

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

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, Text_Io, Our_List, Variables, Instructions;

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;
        elsif 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;
        elsif Lex.Get_Token = Non then
            Lex.Next;
            Une_Condition.Parse;
        elsif Lex.Get_Token = Entree_Clavier then
            Lex.Next;
            Compare_Clavier.Parse;
        elsif Lex.Get_Token = Vrai then
            Lex.Next;
        elsif Lex.Get_Token = Faux then
            Lex.Next;
        elsif Lex.Get_Token = Sentence then
            if Our_List.Get_Part_Of_The_Script = 3 then

                Variables.Affect_Value (Lex.Get_Value);
            elsif Our_List.Get_Part_Of_The_Script = 5 then
                Instructions.Set_Value (Lex.Get_Value);
            end if;
            Lex.Next;
        elsif Lex.Get_Token = Left_Bracket then
            Lex.Next;
            Un_Nombre.Parse;
            Une_Valeur1.Parse;
        elsif Lex.Get_Token = Identifier then
            Un_Id_Compose.Parse;
            Une_Valeur2.Parse;
        elsif Lex.Get_Token = Number then
            if Our_List.Get_Part_Of_The_Script = 3 then

                Variables.Affect_Value (Lex.Get_Value);
            elsif Our_List.Get_Part_Of_The_Script = 5 then
                Instructions.Set_Value (Lex.Get_Value);
            end if;

            Lex.Next;
            Un_Terme1.Parse;
            Un_Nombre1.Parse;
        elsif Lex.Get_Token = Plus then
            Lex.Next;
            Un_Terme.Parse;
            Un_Nombre1.Parse;
        elsif Lex.Get_Token = Minus then
            Lex.Next;
            Un_Terme.Parse;
            Un_Nombre1.Parse;
        else
            Erreur.Parse
               (" il manque soit '+','_','integer','(','faux','vrai','entree_clavier','non','ou','et',ou alors une phrase ou un identificateur");


        end if;


    end Parse;

end Une_Valeur;


E3 Meta Data

    nblk1=6
    nid=3
    hdr6=a
        [0x00] rec0=1e rec1=00 rec2=01 rec3=00c
        [0x01] rec0=00 rec1=00 rec2=04 rec3=01c
        [0x02] rec0=1c rec1=00 rec2=02 rec3=02e
        [0x03] rec0=1b rec1=00 rec2=06 rec3=028
        [0x04] rec0=14 rec1=00 rec2=05 rec3=000
        [0x05] rec0=0c rec1=00 rec2=05 rec3=001
    tail 0x21546c25a865e5b71219b 0x42a00088462060003
Free Block Chain:
  0x3: 0000  00 00 00 04 80 01 20 01 02 03 04 05 06 07 08 09  ┆                ┆