|
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 - download
Length: 3072 (0xc00) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Liste_Instructions, seg_047e0c
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧
with Lex, Error, Token_Pkg, Set_Of_Token, Instructions, Feuille; use Token_Pkg; package body Liste_Instructions is ------------------------------------------------------------------------ -- <UNIT> liste_instructions ------------------------------------------------------------------------ -- -- <DESCRIPTION> This package defines an operation for parsing the -- grammatical expresssion : <liste_instructions> -- -- <AUTHOR> Barthe Raphael, Beck Didier, Kempe Laurent -- <VERSION> 1.0 -- <DATE> 16-Jan-95 -- <MODIFY> 16-Jan-95 -- -- <PKG USED> LEX, Token_Pkg, Error, -- ------------------------------------------------------------------------ Unit_Instructions : Set_Of_Token.Object := Set_Of_Token.Make ((T_Dire, T_Si, T_Jeu_Termine, T_Ident, T_Piece_Courante)); procedure Parse (List : in out Feuille.Liste_Instr.List; Success : in out Boolean) is ------------------------------------------------------------------------ -- <SUBPROGRAM> -- <UNIT> Parse -- -- <DESCRIPTION> Try to parse <Exprs> and return if it was a -- success or not. -- -- <EXCEPTIONS> Nothing -- ------------------------------------------------------------------------ Ok : Boolean := True; Tmptree : Feuille.Pcell; begin List := Feuille.Liste_Instr.Create; while Set_Of_Token.Is_Member (Lex.Gettoken, Unit_Instructions) loop Instructions.Parse (Tmptree, Ok); Feuille.Liste_Instr.Attach (Tmptree, List); Success := Success and Ok; end loop; List := Feuille.Permute (List); end Parse; end Liste_Instructions;
nblk1=2 nid=0 hdr6=4 [0x00] rec0=1b rec1=00 rec2=01 rec3=040 [0x01] rec0=17 rec1=00 rec2=02 rec3=001 tail 0x21544ec688657730c109f 0x42a00088462060003