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

⟦23836e2a7⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Instruction_Pour, seg_046507

Derivation

└─⟦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;
with Models, Symbols, Comps_Dictionary, Verbs_Dictionary;

use Lexical;

package body Instruction_Pour is

    procedure Parse (Models_Table : Models.Object;
                     Symbols_Table : Symbols.Object;
                     Comp : Comps_Dictionary.Object;
                     Dict : Verbs_Dictionary.Object) is
    begin

        if Lexical.Get_Token = Pour then
            Lexical.Next;
            if Lexical.Get_Token = Nbr then
                Lexical.Next;
                if Lexical.Get_Token = Entree then
                    Lexical.Next;
                    if Lexical.Get_Token = Faire then
                        Lexical.Next;
                        Instructions.Parse (Models_Table,
                                            Symbols_Table, Comp, Dict);
                        if Lexical.Get_Token = Finpour then
                            Lexical.Next;
                        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=2
    nid=0
    hdr6=4
        [0x00] rec0=1c rec1=00 rec2=01 rec3=020
        [0x01] rec0=13 rec1=00 rec2=02 rec3=001
    tail 0x21748a61286503c79bec5 0x42a00088462060003