Thanks! Marcus was fast on this one. Already in the box :) On Sep 29, 2010, at 8:34 AM, Lukas Renggli wrote:
Ok, the change was rather trivial, most of the functionality was still there.
I committed
Name: Compiler-LukasRenggli.242 Author: lr Time: 29 September 2010, 8:29:05 am UUID: 5e237cdd-b72f-44ae-a6c9-402623dfb670 Ancestors: Compiler-MarcusDenker.241
- use pragmas to make primitives extensible
to the Pharo inbox and the issue tracker (http://code.google.com/p/pharo/issues/detail?id=3014). Image recompiles without problems. Same tests fail as before.
For the other Smalltalk that use the same infrastructure I've attached a change-set.
Lukas
On 28 September 2010 18:29, Lukas Renggli <renggli@gmail.com> wrote:
Thanks Eliot, I will look into it. I should have some time this week.
Lukas
2010/9/28 Eliot Miranda <eliot.miranda@gmail.com>:
Hi Lukas,
On Tue, Sep 28, 2010 at 12:46 AM, Lukas Renggli <renggli@gmail.com> wrote:
What you ask for was present in my original pragma implementation. The compiler dispatched pragmas that were declared as compiler pragmas (using pragmas and thus extensible) to the compiler.
That mechanism got lost with the closure changes to the compiler. It should be relatively easy to re-integrate again.
Please do. This is the way it should be done and I'm sure would be very nice to use. It would give me pleasure to review the code.
I never bother to do so, because the mechanism was never adopted by the only potential client at that time as the author didn't like pragmas and preferred to patch the compiler :-)
Lukas
best Eliot
-- Lukas Renggli www.lukas-renggli.ch
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Lukas Renggli www.lukas-renggli.ch
-- Lukas Renggli www.lukas-renggli.ch <3014-UsePragmasForExtensiblePrimitives.1.cs>_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project