DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: ┃ B T ┃
Length: 1247 (0x4df) Types: TextFile Names: »B«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11 └─ ⟦129cab021⟧ »DATA« └─⟦this⟧
with Lexical; use Lexical; with Text_Io; with Erreurs; with Semantique; procedure Essai_Calcul is Le_Resultat : Integer; begin Erreurs.Ouvrir ("un_nouveau_ficihier_erreur"); Semantique.Demarre_Calcul; Semantique.Empiler (Un_Jeton => L_Number, Une_Valeur => 406); Semantique.Empiler (Un_Jeton => L_Plus); Semantique.Empiler (Un_Jeton => L_Number, Une_Valeur => 2); Semantique.Empiler (Un_Jeton => L_Star); Semantique.Empiler (Un_Jeton => L_Open); Semantique.Empiler (Un_Jeton => L_Number, Une_Valeur => 2); Semantique.Empiler (Un_Jeton => L_Sub); Semantique.Empiler (Un_Jeton => L_Number, Une_Valeur => 2); Semantique.Empiler (Un_Jeton => L_Star); Semantique.Empiler (Un_Jeton => L_Open); Semantique.Empiler (Un_Jeton => L_Number, Une_Valeur => 2); Semantique.Empiler (Un_Jeton => L_Plus); Semantique.Empiler (Un_Jeton => L_Number, Une_Valeur => 100); Semantique.Empiler (Un_Jeton => L_Close); Semantique.Empiler (Un_Jeton => L_Close); -- Semantique.Empiler (Un_Jeton => L_Close); Semantique.Empiler (Un_Jeton => L_Ok); Semantique.Evaluer_Expression (Le_Resultat); Text_Io.Put_Line (Integer'Image (Le_Resultat)); Erreurs.Fermer; end Essai_Calcul;