DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: ┃ T V ┃
Length: 968 (0x3c8) Types: TextFile Names: »V«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11 └─ ⟦129cab021⟧ »DATA« └─⟦this⟧
-- 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;