[Omake] SVN Commit: OMake Build System [0.9.8.x] (Rev. 10589)
Aleksey Nogin
nogin at metaprl.org
Wed May 2 09:06:59 PDT 2007
On 01.05.2007 20:18, Jason J. Hickey wrote:
> Backported the export hoisting. This is something that never worked,
> but should have.
>
> Z. =
> x = 1
> f() =
> x = 2
> export
> Z.f()
> echo $(Z.x)
> # Prints "2"
>
> This works with arbitrary levels of nesting.
>
I am not sure what the semantics of this is meant to be. Are we saying
that, at least semantically, the value of $Z is simply a namespace? Also
not sure, how any of the object scoping stuff can be expressed via the
"export as a continuation" semantics...
Aleksey
More information about the OMake-Devel
mailing list