On 06/12/2011 04:33 PM, Adam D. Ruppe wrote:
This is awesome!

Another benefit here is code running programs are simplified. For
"D script" kind of things, a technique I use is to simply wrap some
code inside a main function. Almost every feature worked there -
nested functions, structs, classes, etc. Now imports do too! Yay!

This bodes well for your "run this online" thing, too. All we need to do is wrap a main() around the example code and it should work.

Andrei

Reply via email to