D to Javascript converter (a hacked up dmd)

Adam D. Ruppe destructionator at gmail.com
Tue Feb 28 19:30:00 PST 2012


On Wednesday, 29 February 2012 at 03:24:17 UTC, Piotr Szturmaj 
wrote:
> What about passing values within object?

Yeah, that's one of the first things I thought of, but
what about a more complex thing:

d = a(c) + 4;

where will the c=wrapper.value go?

It can't go at the end of the function call
now. Also, if the function call is in the
middle of something, we'd have to assign the
wrapper somewhere too. Suppose:

d = (c = 2, a(c));


I think anything that isn't inline for the
argument will be too easy to break.


More information about the Digitalmars-d-announce mailing list