Differences From Artifact [5a9949a1eb8839b1]:
- File
polemy/eval.d
- 2010-11-23 09:36:27 - part of checkin [b97bd4f713] on branch trunk - automatic AST to table encoder (user: kinaba) [annotate]
To Artifact [ca0ab118700475a8]:
- File
polemy/eval.d
- 2010-11-23 10:09:03 - part of checkin [36c517dfc4] on branch trunk - refactored d-value and polemy-value conversion (user: kinaba) [annotate]
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; }