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

⟦4341a4f56⟧ TextFile

    Length: 976 (0x3d0)
    Types: TextFile
    Names: »B«

Derivation

└─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04
    └─ ⟦d65440be7⟧ »DATA« 
        └─⟦this⟧ 

TextFile

with Binary, Scanner, Objects;
package body _Ada_11_ is
    type Node_Structure is
        record
            Rule : Natural range 0 .. 1 := 0;  
            Bina : Binary.Node := Binary.Empty_Node;  
            Mova : More_Value.Node := More_Value.Empty_Node;
        end record;

    procedure Parse (N : in out Node; Error : out Boolean) is
        Failed : Boolean := False;
    begin
        N := new Node_Structure;  
        if Binary.Is_First (Scanner.Symbol) then
            Binary.Parse (N.Bin1, Failed);
            Scanner.Next;
            if Scanner.Symbol = Keyword then  
                Scanner.Next;
                if Binary.Is_First (Scanner.Symbol) then
                    N.Rule := 1;
                    Binary.Parse (N.Bin2, Failed);
                else
                    Failed := True;
                end if;  
            end if;
        else
            Failed := True;
        end if;  
        Error := Failed;
    end Parse;
end _Ada_11_;