The D Scripting Language

Adam Ruppe destructionator at gmail.com
Tue Nov 16 09:36:16 PST 2010


> "Script mode"  (actually - simple wrapper) would be better:
> It could do simple parsing of script, bringing all "import"
> clauses to the beginning and add some default imports
> (like std.stdio). It seems that all code below imports can be
> wrapped into main declaration.

My rund.d program does this.

http://arsdnet.net/dcode/rund.d

As you can see, it's a trivial program.


More information about the Digitalmars-d mailing list