VMMaker Interpreter Class Name

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

VMMaker Interpreter Class Name

alistairgrant
 
Hi Eliot,

Sorry to trouble you but can you confirm what the Interpreter class
name should be in the VMMakerTool?

The reason I ask is because the code I'm generating for FilePlugin has:

# define SPURVM 0

while the version in the repository has SPURVM 1.


I'm setting the interpreter class name to StackInterpreter, but the
tool is automatically changing it to StackInterpreterPrimitives.


Thanks,
Alistair
Reply | Threaded
Open this post in threaded view
|

Re: VMMaker Interpreter Class Name

Eliot Miranda-2
 
Hi Alistair,

> On Mar 1, 2018, at 1:48 PM, Alistair Grant <[hidden email]> wrote:
>
>
> Hi Eliot,
>
> Sorry to trouble you but can you confirm what the Interpreter class
> name should be in the VMMakerTool?
>
> The reason I ask is because the code I'm generating for FilePlugin has:
>
> # define SPURVM 0
>
> while the version in the repository has SPURVM 1.
>
>
> I'm setting the interpreter class name to StackInterpreter, but the
> tool is automatically changing it to StackInterpreterPrimitives.

That's fine.  StackInterpreterPrimitives is right.  And the platform should be set to Cross.  Your generation of

# define SPURVM 0

looks good.  Looks like there was an initialisation bug when the FilePlugin was last generated.

>
>
> Thanks,
> Alistair
Reply | Threaded
Open this post in threaded view
|

Re: VMMaker Interpreter Class Name

alistairgrant
 
Hi Eliot,

On 1 March 2018 at 23:32, Eliot Miranda <[hidden email]> wrote:

>
> Hi Alistair,
>
>> On Mar 1, 2018, at 1:48 PM, Alistair Grant <[hidden email]> wrote:
>>
>>
>> Hi Eliot,
>>
>> Sorry to trouble you but can you confirm what the Interpreter class
>> name should be in the VMMakerTool?
>>
>> The reason I ask is because the code I'm generating for FilePlugin has:
>>
>> # define SPURVM 0
>>
>> while the version in the repository has SPURVM 1.
>>
>>
>> I'm setting the interpreter class name to StackInterpreter, but the
>> tool is automatically changing it to StackInterpreterPrimitives.
>
> That's fine.  StackInterpreterPrimitives is right.  And the platform should be set to Cross.  Your generation of
>
> # define SPURVM 0
>
> looks good.  Looks like there was an initialisation bug when the FilePlugin was last generated.

OK, thanks!


Cheers,
Alistair