Alien question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Alien question

Stéphane Ducasse
Hi

I'm trying to make sure that we can load Alien in Pharo.
I'm moving some examples out of Alien-Core.

Now I have some questions:
        - are these DynSuperSend #LdOuter #LdExplicitOuter
        class variable needed?
        - then we get a problem because the addition of classVariables should  
be done before parsing
        so I will move that to the preLoadingPackage.

Stef

initialize
        "ParseNode initialize. VariableNode initialize"
                #(#DynSuperSend #LdOuter #LdExplicitOuter)
        do: [:c |
                [self addClassVarName: c] ifError: []].
        DynSuperSend := 126.
        LdInstType := 1.
        LdTempType := 2.
        LdLitType := 3.
        LdLitIndType := 4.
        SendType := 5.
        CodeBases := #(0 16 32 64 208 ).
        CodeLimits := #(16 16 32 32 16 ).
        LdSelf := 112.
        LdTrue := 113.
        LdFalse := 114.
        LdNil := 115.
        LdMinus1 := 116.
        LdOuter := 127.
        LdExplicitOuter := 139.
        LoadLong := 128.
        Store := 129.
        StorePop := 130.
        ShortStoP := 96.
        SendLong := 131.
        DblExtDoAll := 132.
        SendLong2 := 134.
        LdSuper := 133.
        Pop := 135.
        Dup := 136.
        LdThisContext := 137.
        EndMethod := 124.
        EndRemote := 125.
        Jmp := 144.
        Bfp := 152.
        JmpLimit := 8.
        JmpLong := 164.  "code for jmp 0"
        BtpLong := 168.
        SendPlus := 176.
        Send := 208.
        SendLimit := 16

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