On 03/30/2015 09:10 AM, Marcus Denker wrote:
What the compiler does not have is to look up references e.g. to symbols regarding to an environment, but that is because we donât have that concept right now in the system in general. globals/class vars are requested from the class (which defines its environment).
So in general, we first need a use case, else it is not clear what to doâ¦
Hi Marcus, i dont know whether this really applies to the things you are talking about here, but it sounds a bit like it eventually could, hence i'll mention it: i had a little program, that constructs an array of blocks (no object methods) via opal from scratch (using strings). now this worked of course without problems, but there are situations where it would be nice if those blocks would have - in a _simple_ way - access to common variables constructed by the program, iow if all those blocks would live in the same 'space' as those variables - or however thats called correctly. does this scenario apply as a possible use case (obviously completely different from Johan's use case) ? werner