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

⟦039d1f127⟧ Ada Source

    Length: 4096 (0x1000)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Block, seg_038188

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



-- This package parses and interprets the following rules:
--
-- rule 0:
--  syntax:   <bloc> ::= '{' <arguments> <statements> '}'
--  sementic:  bloc.result = statements.result


with Scanner;
with Object;
with Message;
with Symbols;

package Block is
    type Node is private;
    Empty_Node : constant Node;

    procedure Parse (N : in out Node);
    procedure Unparse (N : Node);
    function Is_First (T : Scanner.Token) return Boolean;
    function Interpret (N : Node) return Object.Reference;

    function Get_Ident (N : Node) return Message.Unary;
    function Get_Kwd (N : Node) return Message.Unary;
    function Get_Table (N : Node) return Symbols.Table;
    procedure Put_Table (This_Object : Object.Reference;
                         Named : Object.Tiny_String;
                         Into : in out Node);
    procedure Get_From_Table (Object_Named : Object.Tiny_String;
                              From_Block : Node;
                              Into : in out Object.Reference;
                              Status : out Boolean);
    procedure Put_Into_Table (This_Object : Object.Reference;
                              Named : Object.Tiny_String;
                              Into_Block : in out Node);

    function Get_Current_Node return Node;
    function Get_Current_Table return Symbols.Table;
    procedure Put_Current_Table (This_Object : Object.Reference;
                                 Named : Object.Tiny_String);
    function Get_Parent (N : Node) return Node;
    function Is_Nil (N : Node) return Boolean;

private
    type Node_Structure;
    type Node is access Node_Structure;
    Empty_Node : constant Node := null;
end Block;


E3 Meta Data

    nblk1=3
    nid=3
    hdr6=4
        [0x00] rec0=1f rec1=00 rec2=01 rec3=022
        [0x01] rec0=13 rec1=00 rec2=02 rec3=001
        [0x02] rec0=0b rec1=00 rec2=00 rec3=004
    tail 0x21735ba3084e67c9f3f3a 0x42a00088462060003
Free Block Chain:
  0x3: 0000  00 00 00 03 00 00 00 53 74 72 75 63 74 75 72 65  ┆       Structure┆