Differences From Artifact [521e3de53633ae4a]:
- File
main.d
- 2010-11-07 10:32:59 - part of checkin [4198578702e] on branch trunk - Changed several documentation comments into ddoc compatible ones. (user: kinaba) [annotate]
To Artifact [5cef40bce7835081]:
- File
main.d
- 2010-11-07 15:03:38 - part of checkin [820e7198cc] on branch trunk - Made helloworld work. (user: kinaba) [annotate]
2 2 * Authors: k.inaba
3 3 * License: NYSL 0.9982 (http://www.kmonos.net/nysl/
4 4 *
5 5 * Entry point for Polemy interpreter.
6 6 */
7 7
8 8 import std.stdio;
9 -import polemy.lex;
10 -import polemy.parse;
9 +import polemy.eval;
11 10
12 -static ~this() { readln(); } // workaround for enabling "pause" under Poseidon
11 +version(unittest)
12 + static ~this() { readln(); } // workaround for enabling "pause" under Poseidon
13 13
14 14 void main()
15 15 {
16 16 writeln( "test ok" );
17 17 }