> Its handy to at least have the option of making args writable in order to
> support implementing languages like Javascript on top of the bytecode set.

Assigning to an argument is already possible on a bytecode level, this
is the compiler that prevents you from doing so. The check is in
TempVariableNode>>#assignmentCheck:at: and can safely be replaced with
the following method:

assignmentCheck: encoder at: location
        ^ -1

The other issues I mentioned in the original post are similarly
hardcoded. They can all be implemented by removing unnecessary checks
in the compiler or class-builder.

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to