Boo Imports & New Usages
Okay, since I have started thinking about using:
import file from anotherFile.boo
It occurred to me that there are plenty of reasons to want to do similar things. And boo is flexible enough to make some interesting things with it.
What about bringing in WSDL definition at compile time?
import webservice from "http://localhost/who/is.there" as WhoIsThereService
And then writing a small compiler step that does all the rest.
Usually the first twenty or so lines of my my Windsor.boo file are just import statements, they really make it harder to read, why not split them to another file?
import all from imports.boo
I can probably think of a few other interesting things to do with it, as well.