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

⟦1e24f62fe⟧ Ada Source

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

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_Analyzer, Error, Expression, Dynamic_Node, Text_Io,
     Dynamic_Value, Dictionnary, Table_Of_Player_Commands;

procedure Test_Expression is
    Adyn_Node, Node : Dynamic_Node.Object;
    Val : Dynamic_Value.Object;
begin
    Dictionnary.Set_Kind_Of_Storage (Dictionnary.Verb);
    Dictionnary.Insert ("aller");
    Dictionnary.Set_Kind_Of_Storage (Dictionnary.Complement);
    Dictionnary.Insert ("vase");  
    Dictionnary.Insert ("fdf");

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


    Lexical_Analyzer.Open ("test_fichier_expr");  
    Lexical_Analyzer.Next;
    Expression.Parse (Adyn_Node);
    Text_Io.Put_Line ("ici");
    Lexical_Analyzer.Close;
    Dynamic_Node.Print (Adyn_Node);
    Dynamic_Node.Evaluate (Adyn_Node);
    Text_Io.Put_Line ("le resultat est :");
    Dynamic_Node.Print (Adyn_Node);
exception
    when Error.Excep_Syntaxe_Aborded =>
        null;
    when Error.Excep_Syntaxe_Error | Error.Excep_Semantic_Error =>
        Error.Treat;
end Test_Expression;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1d rec1=00 rec2=01 rec3=016
        [0x01] rec0=07 rec1=00 rec2=02 rec3=001
    tail 0x2154124d2864685833734 0x42a00088462060003