Hex Artifact Content
Not logged in

Artifact 5cef40bce7835081a806a94d65d3ca11ee208a44:


0000: 2f 2a 2a 0d 0a 20 2a 20 41 75 74 68 6f 72 73 3a  /**.. * Authors:
0010: 20 6b 2e 69 6e 61 62 61 0d 0a 20 2a 20 4c 69 63   k.inaba.. * Lic
0020: 65 6e 73 65 3a 20 4e 59 53 4c 20 30 2e 39 39 38  ense: NYSL 0.998
0030: 32 20 28 68 74 74 70 3a 2f 2f 77 77 77 2e 6b 6d  2 (http://www.km
0040: 6f 6e 6f 73 2e 6e 65 74 2f 6e 79 73 6c 2f 0d 0a  onos.net/nysl/..
0050: 20 2a 0d 0a 20 2a 20 45 6e 74 72 79 20 70 6f 69   *.. * Entry poi
0060: 6e 74 20 66 6f 72 20 50 6f 6c 65 6d 79 20 69 6e  nt for Polemy in
0070: 74 65 72 70 72 65 74 65 72 2e 0d 0a 20 2a 2f 0d  terpreter... */.
0080: 0a 0d 0a 69 6d 70 6f 72 74 20 73 74 64 2e 73 74  ...import std.st
0090: 64 69 6f 3b 0a 69 6d 70 6f 72 74 20 70 6f 6c 65  dio;.import pole
00a0: 6d 79 2e 65 76 61 6c 3b 0a 0d 0a 76 65 72 73 69  my.eval;...versi
00b0: 6f 6e 28 75 6e 69 74 74 65 73 74 29 0a 09 73 74  on(unittest)..st
00c0: 61 74 69 63 20 7e 74 68 69 73 28 29 20 7b 20 72  atic ~this() { r
00d0: 65 61 64 6c 6e 28 29 3b 20 7d 20 2f 2f 20 77 6f  eadln(); } // wo
00e0: 72 6b 61 72 6f 75 6e 64 20 66 6f 72 20 65 6e 61  rkaround for ena
00f0: 62 6c 69 6e 67 20 22 70 61 75 73 65 22 20 75 6e  bling "pause" un
0100: 64 65 72 20 50 6f 73 65 69 64 6f 6e 0d 0a 0a 76  der Poseidon...v
0110: 6f 69 64 20 6d 61 69 6e 28 29 0a 7b 0d 0a 09 77  oid main().{...w
0120: 72 69 74 65 6c 6e 28 20 22 74 65 73 74 20 6f 6b  riteln( "test ok
0130: 22 20 29 3b 0d 0a 7d 0d 0a                       " );..}..