DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

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

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦e9c9d00f4⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package body Lindenmayer, seg_0370f2

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« 
        └─⟦this⟧ 

E3 Source Code



package body Lindenmayer is
    procedure Croissance (In_String : in Lindenmayer_String;
                          Out_String : out Lindenmayer_String) is
    begin
        for I in 1 .. Bounded_String.Lenght (In_String) loop
            case Bounded_String.Char_At
                    (Source => Str, At_Pos => Positive (I)) is
                when 'A' =>
                    Bounded_String.Append (Out_String, "A-A++A-A");
                when others =>
                    null;
            end case;
        end loop;
    end Croissance;

    procedure Interprete (In_String : in Lindenmayer_String) is
    begin
        for I in 1 .. Bounded_String.Lenght (In_String) loop
            case Char_At (Source => In_String, At_Pos => Positive (I)) is
                when 'A' =>
                    Ecrit ("Tortue Avance:10");
                when '+' =>
                    Ecrit ("Tortue aDroite:10");
                when '-' =>
                    Ecrit ("Tortue aGauche:10");
                when others =>
                    null;
            end case;
        end loop;
    end Interprete;


    procedure Ecrit (Str : String) is
    begin
        null;
    end Ecrit;


    procedure File_Begin is
    begin
        null;
    end File_Begin;


    procedure File_End is
    begin
        null;
    end File_End;

end Lindenmayer;


E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=1a rec1=00 rec2=01 rec3=042
        [0x01] rec0=1b rec1=00 rec2=02 rec3=001
    tail 0x2173450d484e190a916db 0x42a00088462060003