|
|
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, package body Value, seg_0389fd
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
with Lex, Error, Debug, Symbol;
package body Value is
procedure Parse (N : in out Binary_Tree.Node; Success : in out Boolean) is
N1 : Binary_Tree.Node;
begin
Success := True;
N1 := new Binary_Tree.Node_Structure;
N1.The_Type := Binary_Tree.Valeur_Type;
case Lex.Get is
when Lex.Identifier =>
Debug.Put (320);
N1.S := new String'(Lex.Image);
Lex.Next;
when Lex.Int =>
Debug.Put (321);
N1.S := new String'(Symbol.Tmp_Var_Name);
Symbol.Add_Variable (N1.S.all, Symbol.Integer_Var, Lex.Value);
Lex.Next;
when Lex.Hour =>
Debug.Put (322);
N1.S := new String'(Symbol.Tmp_Var_Name);
Symbol.Add_Variable (N1.S.all, Symbol.Time_Var, Lex.Value);
Lex.Next;
when others =>
Error.Append (1);
Success := False;
end case;
N := N1;
end Parse;
procedure Generate (N : in Binary_Tree.Node; The_Value : out Natural) is
The_Type : Symbol.Symbol_Type;
Value1 : Natural;
Ok : Boolean := True;
begin
Symbol.Get_Variable (N.S.all, The_Type, Value1, Ok);
The_Value := Value1;
end Generate;
end Value;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=1c rec1=00 rec2=01 rec3=028
[0x01] rec0=12 rec1=00 rec2=02 rec3=001
tail 0x21735503284e56c11fa2c 0x42a00088462060003