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

⟦fe4be34d0⟧ Ada Source

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

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

package body La_Grammaire is


    procedure Parse is
    begin
        if Lex.Get_Token = Complements then
            Lex.Next;
            Les_Complements.Parse;
            if Lex.Get_Token = Verbes then
                Text_Io.Put_Line ("");
                Text_Io.Put_Line
                   ("table des variables apres initialisation : OK");
                Text_Io.Put_Line ("");
                --Variables.Printall_List_Of_Variables;
                Our_List.Set_Part_Of_The_Script (4);
                Lex.Next;
                Verbs.Create_List_Of_Verbs;
                Les_Verbes.Parse;
                Text_Io.Put_Line ("");
                Text_Io.Put_Line ("Liste des verbes : OK");
                Text_Io.Put_Line ("");
                --Verbs.Printall_List_Of_Verbs;
                if Lex.Get_Token = Scenario then
                    Our_List.Set_Part_Of_The_Script (5);
                    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 ("");
                        --Instructions.Printall;
                    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=008
        [0x01] rec0=17 rec1=00 rec2=02 rec3=001
    tail 0x21546b562865e58745331 0x42a00088462060003