Mercurial > projects > mde
view mde/mde.d @ 3:485c98ecbd91
text.parse: fixed a small bug with char[]'s.
committer: Diggory Hardy <diggory.hardy@gmail.com>
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Sat, 03 Nov 2007 16:06:06 +0000 |
parents | 78eb491bd642 |
children | 9a990644948c |
line wrap: on
line source
/** Modular D Engine * * This module contains main(). */ module mde.mde; // External library imports import tango.io.Stdout; // Package imports import mde.init; import test = mde.test; import mde.input.input; import mde.mergetag.read; int main() { scope init = new Init(); // initialisation Reader MTread; try { MTread = new Reader ("test.mtt", null, true); static DataSection dataPrinter (ID id) { return new test.DataPrinter (id); } MTread.dataSecCreator = &dataPrinter; MTread.read(); } catch (Exception e) { Stdout (e.msg).newline; } //Stdout ("Data read from file:").newline; //test.printDataSet (MTread.dataset); return 0; // cleanup handled by init's DTOR }