Differences From Artifact [360da420d41dfbbf]:
- File
polemy/eval.d
- 2010-11-20 14:29:49 - part of checkin [060f267779] on branch trunk - fixed the bug that the first declaration inside a function cannt be recursive: def foo() { def bar() { bar() }; bar() }; foo() # bar cannot be found (user: kinaba) [annotate]
To Artifact [97875541a42dbc7a]:
- File
polemy/eval.d
- 2010-11-20 16:35:14 - part of checkin [3464a035ec] on branch trunk - source code cleanup (user: kinaba) [annotate]
2 2 * Authors: k.inaba
3 3 * License: NYSL 0.9982 http://www.kmonos.net/nysl/
4 4 *
5 5 * Evaluator for Polemy programming language.
6 6 */
7 7 module polemy.eval;
8 8 import polemy._common;
9 -import polemy.lex : LexPosition;
9 +import polemy.failure;
10 10 import polemy.ast;
11 11 import polemy.parse;
12 12 import polemy.value;
13 13 import std.typecons;
14 14 import std.stdio;
15 15
16 16 ///