changeset 16:cc494b8f8710

Added miniD test
author zzzzrrr <mason.green@gmail.com>
date Tue, 24 Mar 2009 13:29:16 -0400
parents 8e6a9e390cba
children 82efafc87d54
files build-dmd-win.bat example.d testScript.md
diffstat 3 files changed, 15 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/build-dmd-win.bat	Tue Mar 24 11:06:16 2009 -0400
+++ b/build-dmd-win.bat	Tue Mar 24 13:29:16 2009 -0400
@@ -1,3 +1,4 @@
 ::jake -I.. -I../blaze -I../xf/ext zlib.lib -inline -release -O main.d
-rebuild -I.. -I../blaze -I../xf/ext zlib.lib -inline -release -O main.d
+::rebuild -I.. -I../blaze -I../xf/ext zlib.lib -inline -release -O main.d
+xfBuild main.d -oMain.exe -- -I.. -I../blaze -I../xf/ext zlib.lib -inline -release -O 
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/example.d	Tue Mar 24 13:29:16 2009 -0400
@@ -0,0 +1,11 @@
+module example;
+
+import minid.api;
+
+void main(char[][] args)
+{
+	MDVM vm;
+	auto t = openVM(&vm);
+	loadStdlibs(t);
+	importModule(t, args[1]);
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testScript.md	Tue Mar 24 13:29:16 2009 -0400
@@ -0,0 +1,2 @@
+module testscript
+writeln("Hi, I'm a scripty!")