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

⟦717be9710⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Test_Liste_Mots_Voca, seg_043f8a

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 Un_Mot_Du_Voca, Liste_Mots_Voca, Lexical_Analyzer, Error, Dynamic_Value,
     Dynamic_Node, Text_Io, Dictionnary, Table_Of_Player_Commands;

procedure Test_Liste_Mots_Voca is  
    Node, Node_Verb : Dynamic_Node.Object;
begin

    Dictionnary.Set_Kind_Of_Storage (Dictionnary.Verb);
    Dictionnary.Insert ("aller");
    Dictionnary.Set_Kind_Of_Storage (Dictionnary.Complement);
    Dictionnary.Insert ("vase");

    Table_Of_Player_Commands.Initialize;
    Table_Of_Player_Commands.Set_Verb ("vase");
    Table_Of_Player_Commands.Set_First_Complement ("vase");
    Table_Of_Player_Commands.Set_Second_Complement ("");

    Text_Io.Put_Line ("ici");
    Lexical_Analyzer.Open ("fichier_test_mot_voca");
    Lexical_Analyzer.Next;  
    Text_Io.Put_Line ("ici");  
    Un_Mot_Du_Voca.Parse (Node_Verb);
    Text_Io.Put_Line ("ici");

    Liste_Mots_Voca.Parse (Node);
    Text_Io.Put_Line ("ici");
    Lexical_Analyzer.Close;
    Text_Io.Put_Line ("ici");


    Dynamic_Node.Set_Argument (Node, Node_Verb, Dynamic_Node.Verb_Position);

    Dynamic_Node.Print (Node);

    Dynamic_Node.Evaluate (Node);


    Text_Io.Put ("verification = ");  
    Text_Io.Put ((Boolean'Image (Dynamic_Value.Get_Value
                                    (Dynamic_Node.Get_Value (Node)))));

    Text_Io.New_Line;

exception
    when Error.Excep_Syntaxe_Error | Error.Excep_Semantic_Error =>
        Error.Treat;
end Test_Liste_Mots_Voca;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1d rec1=00 rec2=01 rec3=03a
        [0x01] rec0=14 rec1=00 rec2=02 rec3=001
    tail 0x2153f869a863c7097a38c 0x42a00088462060003