|
|
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: 4096 (0x1000)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Instruction_Si, seg_046509
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
with Lexical, Erreur, Exp_Cond, Instructions;
with Models, Symbols, Comps_Dictionary, Verbs_Dictionary;
with Abstract_Tree, Text_Io;
use Lexical;
package body Instruction_Si is
Node : Abstract_Tree.Object; -- Phase de test
procedure Bloc_Sinon (Models_Table : Models.Object;
Symbols_Table : Symbols.Object;
Comp : Comps_Dictionary.Object;
Dict : Verbs_Dictionary.Object) is
begin
if Lexical.Get_Token = Sinon then
Lexical.Next;
Instructions.Parse (Models_Table, Symbols_Table, Comp, Dict);
end if;
end Bloc_Sinon;
procedure Parse (Models_Table : Models.Object;
Symbols_Table : Symbols.Object;
Comp : Comps_Dictionary.Object;
Dict : Verbs_Dictionary.Object) is
begin
if Lexical.Get_Token = Si then
Lexical.Next;
Exp_Cond.Parse (Node, Models_Table, Symbols_Table, Comp, Dict);
Text_Io.Put_Line ("**********************************");
Abstract_Tree.Dump (Node);
Text_Io.Put_Line ("Type retourne: " &
Abstract_Tree.Node_Type'Image
(Abstract_Tree.What_Type (Node)));
Abstract_Tree.Destroy (Node);
if Lexical.Get_Token = Alors then
Lexical.Next;
Instructions.Parse (Models_Table, Symbols_Table, Comp, Dict);
Bloc_Sinon (Models_Table, Symbols_Table, Comp, Dict);
if Lexical.Get_Token = Finsi then
Lexical.Next;
else
Erreur.Syntaxe ("Manque Finsi");
end if;
else
Erreur.Syntaxe ("Manque Alors");
end if;
else
Erreur.Syntaxe ("Manque Si");
end if;
end Parse;
end Instruction_Si;
nblk1=3
nid=0
hdr6=6
[0x00] rec0=22 rec1=00 rec2=01 rec3=00a
[0x01] rec0=19 rec1=00 rec2=02 rec3=004
[0x02] rec0=05 rec1=00 rec2=03 rec3=001
tail 0x21748a53086503c387722 0x42a00088462060003