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

⟦2118f5a73⟧ Ada Source

    Length: 3072 (0xc00)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, package Primary, seg_037933, seg_037a15

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:     primary ::= integer
--  semantic:   primary.result = integer;
--
-- rule 1:
--  syntax:     primary ::= identifier
--  semantic:   symbol <| insert(identifier)
--              primary.result = symbol <| eval(identifier;
--
-- rule 2:
--  syntax:     primary ::= '('value')'
--  semantic:   primary.result = value.result
--
-- rule 3:
--  syntax:     primary ::= bloc
--  semantic:   primary.result = bloc
--
-- rule 4:
--  syntax      primary ::= string
--  semantic:   primary.result = string_class <| create(identifier)

with Object;
package Primary is

    type Node is private;
    Empty_Node : constant Node;

    procedure Parse (N : in out Node);
    procedure Unparse (N : in Node);
    function Interpret (N : Node) return Object.Reference;

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





E3 Meta Data

    nblk1=2
    nid=0
    hdr6=4
        [0x00] rec0=26 rec1=00 rec2=01 rec3=03c
        [0x01] rec0=06 rec1=00 rec2=02 rec3=001
    tail 0x217350ff084e545e20dad 0x42a00088462060003