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

⟦8417649aa⟧ Ada Source

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

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_Simple,
     Dynamic_Node, Text_Io, Dynamic_Value, Dictionnary;

procedure Test_Expression_Simples 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 ("fgf");


    Lexical_Analyzer.Open ("test_fichier_expr_simple");
    Lexical_Analyzer.Next;
    Expression_Simple.Parse (Adyn_Node);
    Text_Io.Put_Line ("ici");
    Lexical_Analyzer.Close;
    Dynamic_Node.Print (Adyn_Node);
    Text_Io.Put_Line ("ici2");
    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.Treat;
end Test_Expression_Simples;

E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1f rec1=00 rec2=01 rec3=024
        [0x01] rec0=01 rec1=00 rec2=02 rec3=001
    tail 0x215433b1c86515bb2c63a 0x42a00088462060003