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

⟦4ecea75ed⟧ Ada Source

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

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 Text_Io, Erreur, Les_Complements, Les_Verbes,
     Un_Bloc_Instructions, Arbre_Verbes, Our_List;

package body La_Grammaire is

    Dico : Arbre_Verbes.Object;

    procedure Parse is
    begin
        if Lex.Get_Token = Complements then
            Lex.Next;
            Les_Complements.Parse;
            if Lex.Get_Token = Verbes then
                Our_List.Set_Part_Of_The_Script (4);
                Lex.Next;
                Arbre_Verbes.Create (Dico);
                Les_Verbes.Parse (Dico);
                Text_Io.Put_Line ("La table des verbes est OK");
                if Lex.Get_Token = Scenario then
                    Lex.Next;
                    Un_Bloc_Instructions.Parse;
                    if Lex.Get_Token = Termine then
                        Text_Io.Put_Line ("");
                        Text_Io.Put_Line ("La grammaire est OK");
                        Text_Io.Put_Line ("");
                    else
                        Erreur.Parse ("il manque le mot 'termine'");
                    end if;
                else
                    Erreur.Parse ("il manque le mot 'scenario'");
                end if;
            else
                Erreur.Parse ("il manque le mot 'verbes'");
            end if;
        else
            Erreur.Parse ("il manque le mot 'complements'");
        end if;
    end Parse;

end La_Grammaire;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1c rec1=00 rec2=01 rec3=034
        [0x01] rec0=0e rec1=00 rec2=02 rec3=001
    tail 0x21748ec1a86506c5f0325 0x42a00088462060003