Diff
Not logged in

Differences From Artifact [3711e4a90323c649]:

To Artifact [c94ffd3733368117]:


25 25 26 26 class StrValue : Value 27 27 { 28 28 string data; 29 29 mixin SimpleConstructor; 30 30 mixin SimpleCompare; 31 31 } 32 + 33 +abstract class FunValue : Value 34 +{ 35 + Value call(Value[] args); 36 +} 37 + 38 +class PrimitiveFunction : FunValue 39 +{ 40 + Value delegate(Value[]) data; 41 + mixin SimpleConstructor; 42 + override Value call(Value[] args) { return data(args); } 43 +} 32 44 33 45 class Context 34 46 { 35 47 Context parent; 36 48 Value[string] table; 37 49 this(Context parent = null) { this.parent = parent; } 38 50