DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ B T

⟦a31a938bd⟧ TextFile

    Length: 1448 (0x5a8)
    Types: TextFile
    Names: »B«

Derivation

└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 

TextFile

separate (Parse)
procedure Parse_Terme (Ok : out Boolean; The_Node : out Abstract_Tree.P_Node) is
    Ok1 : Boolean := True;
    Inherited_Node1, Inherited_Node2 : Abstract_Tree.P_Node;
begin
    Ok := True;
    Text_Io.Put_Line ("parse_terme");
    Parse_Facteur (Ok1, Inherited_Node1);
    if not Ok1 then
        Parse_Error (Facteur_Follow);
    end if;
    while not Token_Set.Is_Member (Term_Follow, Lex.Get_Token) loop
        case Lex.Get_Token is
            when L_Mult =>
                Lex.Next;
                Parse_Facteur (Ok1, Inherited_Node2);
                if not Ok1 then
                    Parse_Error (Facteur_Follow);
                else
                    Inherited_Node1 :=
                       Abstract_Tree.Make_Node
                          (L_Mult, Inherited_Node1, Inherited_Node2);
                end if;
            when L_Div =>
                Lex.Next;
                Parse_Facteur (Ok1, Inherited_Node2);
                if not Ok1 then
                    Parse_Error (Facteur_Follow);
                else
                    Inherited_Node1 :=
                       Abstract_Tree.Make_Node
                          (L_Div, Inherited_Node1, Inherited_Node2);
                end if;
            when others =>
                Ok := False;
                The_Node := Abstract_Tree.Empty_Node;
                exit;
        end case;
    end loop;
    The_Node := Inherited_Node1;
end Parse_Terme;