Diff
Not logged in

Differences From Artifact [3711e4a90323c649]:

To Artifact [c94ffd3733368117]:


25 25 26 class StrValue : Value 26 class StrValue : Value 27 { 27 { 28 string data; 28 string data; 29 mixin SimpleConstructor; 29 mixin SimpleConstructor; 30 mixin SimpleCompare; 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 class Context 45 class Context 34 { 46 { 35 Context parent; 47 Context parent; 36 Value[string] table; 48 Value[string] table; 37 this(Context parent = null) { this.parent = parent; } 49 this(Context parent = null) { this.parent = parent; } 38 50