Diff
Not logged in

Differences From Artifact [5a9949a1eb8839b1]:

To Artifact [ca0ab118700475a8]:


7 module polemy.eval; 7 module polemy.eval; 8 import polemy._common; 8 import polemy._common; 9 import polemy.failure; 9 import polemy.failure; 10 import polemy.ast; 10 import polemy.ast; 11 import polemy.parse; 11 import polemy.parse; 12 import polemy.value; 12 import polemy.value; 13 import polemy.layer; 13 import polemy.layer; > 14 import polemy.value; > 15 import polemy.valueconv; 14 16 15 /// Objects for maitaining global environment and evaluation of expression on it 17 /// Objects for maitaining global environment and evaluation of expression on it 16 class Evaluator 18 class Evaluator 17 { 19 { 18 public: 20 public: 19 /// Initialize evaluator with empty context 21 /// Initialize evaluator with empty context 20 this() { theContext = new Table; } 22 this() { theContext = new Table; }