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

⟦03d80e652⟧ Ada Source

    Length: 5120 (0x1400)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Instruction_Pour, seg_049005, seg_0493da

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦5a81ac88f⟧ »Space Info Vol 1« 
        └─⟦this⟧ 
└─⟦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 Lexical, Erreur, Instructions, Token_List;
with Liste_D_Instructions, Models, Symbols, Comps_Dictionary, Verbs_Dictionary;

use Lexical;

package body Instruction_Pour is

    Follow : Token_List.Object := Token_List.Make
                                     ((Si, Pour, Animation_Globale));

    procedure Parse (Liste : in out Liste_D_Instructions.Object;
                     Models_Table : Models.Object;
                     Symbols_Table : Symbols.Object;
                     Comp : Comps_Dictionary.Object;
                     Dict : Verbs_Dictionary.Object) is
        Liste_Pour : Liste_D_Instructions.Object;
        Nbr_Pour : Integer;
    begin

        if Lexical.Get_Token = Pour then
            Lexical.Next;
            if Lexical.Get_Token = Nbr then
                Nbr_Pour := Integer'Value (Lexical.Get_Value);
                Lexical.Next;
                if Lexical.Get_Token = Entree then
                    Lexical.Next;
                    if Lexical.Get_Token = Faire then
                        Lexical.Next;
                        Instructions.Parse (Liste_Pour, Models_Table,
                                            Symbols_Table, Comp, Dict);
                        if Lexical.Get_Token = Finpour then
                            Lexical.Next;
                            Liste_D_Instructions.Attache
                               (Liste, Liste_D_Instructions.Creer_Pour
                                          (Nbr_Pour, Liste_Pour));
                        else
                            Erreur.Syntaxe ("Manque Finpour", Follow);
                        end if;
                    else
                        Erreur.Syntaxe ("Manque Faire", Follow);
                    end if;
                else
                    Erreur.Syntaxe ("Manque Entree", Follow);
                end if;
            else
                Erreur.Syntaxe ("Manque le nombre d actions", Follow);
            end if;
        else
            Erreur.Syntaxe ("Manque Pour", Follow);
        end if;

    end Parse;

end Instruction_Pour;


E3 Meta Data

    nblk1=4
    nid=3
    hdr6=6
        [0x00] rec0=1c rec1=00 rec2=01 rec3=010
        [0x01] rec0=14 rec1=00 rec2=04 rec3=012
        [0x02] rec0=09 rec1=00 rec2=02 rec3=001
        [0x03] rec0=94 rec1=00 rec2=00 rec3=000
    tail 0x2174d5042865b3de32796 0x42a00088462060003
Free Block Chain:
  0x3: 0000  00 00 00 5c 80 12 71 75 65 20 50 6f 75 72 22 2c  ┆   \  que Pour",┆