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

⟦40acd05a6⟧ Ada Source

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

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, Instructions;
with Liste_D_Instructions, Models, Symbols, Comps_Dictionary, Verbs_Dictionary;

use Lexical;

package body Instruction_Pour is

    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");
                        end if;
                    else
                        Erreur.Syntaxe ("Manque Faire");
                    end if;
                else
                    Erreur.Syntaxe ("Manque Entree");
                end if;
            else
                Erreur.Syntaxe ("Manque le nombre d actions");
            end if;
        else
            Erreur.Syntaxe ("Manque Pour");
        end if;

    end Parse;

end Instruction_Pour;

E3 Meta Data

    nblk1=4
    nid=4
    hdr6=6
        [0x00] rec0=19 rec1=00 rec2=01 rec3=03a
        [0x01] rec0=16 rec1=00 rec2=03 rec3=032
        [0x02] rec0=07 rec1=00 rec2=02 rec3=001
        [0x03] rec0=94 rec1=00 rec2=00 rec3=000
    tail 0x21543237c865085d9b67c 0x42a00088462060003
Free Block Chain:
  0x4: 0000  00 00 00 05 80 02 63 61 02 00 00 00 de 37 40 00  ┆      ca     7@ ┆