|
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, function Lirelem, seg_037159, seg_039034, separate Semantique.Calcul
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
separate (Semantique.Calcul) function Lirelem (Un_Token : Lexical.Token; Une_Valeur : Integer) return Ptr_Elt is C : Character; Wstr : String (1 .. 3) := "' '"; begin if Un_Token = L_Ok then return new Elt'(False, Finop); elsif (Un_Token = L_Number) or else (Un_Token = L_Id) then Precoper := False; return new Elt'(True, new Facteur'(Une_Valeur)); end if; case Un_Token is when L_Plus => if Precoper then C := 'p'; else C := '+'; end if; when L_Sub => if Precoper then C := 'm'; else C := '-'; end if; when L_Star => C := '*'; when L_Open => C := '('; when L_Close => C := ')'; when others => Op_Inconnu := C; raise Err_Op; end case; Precoper := C /= ')'; Wstr (2) := C; return new Elt'(False, Operateur'Value (Wstr)); end Lirelem;
nblk1=2 nid=0 hdr6=4 [0x00] rec0=26 rec1=00 rec2=01 rec3=008 [0x01] rec0=07 rec1=00 rec2=02 rec3=001 tail 0x21734594e84e24aa14920 0x42a00088462060003