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: ┃ T V

⟦5fb155811⟧ TextFile

    Length: 986 (0x3da)
    Types: TextFile
    Names: »V«

Derivation

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

TextFile

-- This package parses and interprets the following rules
--
--  rule 0:
--  syntax:     more_value ::= empty
--  semantic:   more_value.result = more_value.inherited
--
--  rule 1:
--  syntax:     more_value ::= keyword binary more_value
--  semantic:   put keyword in message list
--              put binary.result in argument list
--              more_value.inherited=binary.result
--              more_value.result=send message to last binary.result

with Message, Argument, Scanner;
package More_Value is
    type Node is private;
    Empty_Node : constant Node;

    procedure Parse (N : in out Node);
    procedure Unparse (N : in Node);
    procedure Interpret (N : Node;
                         Messages : in out Message.List;
                         Arguments : in out Argument.List);
    function Is_First (T : Scanner.Token) return Boolean;

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