|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 3072 (0xc00)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Test_Expression, seg_044eeb
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
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.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;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=1e rec1=00 rec2=01 rec3=010
[0x01] rec0=06 rec1=00 rec2=02 rec3=001
tail 0x215412458864685086ed1 0x42a00088462060003