2016-12-05 8:51 GMT+01:00 Nicolas Cellier <
[email protected]>:

> Translate AST to byte codes?
>

(For opal, this first creates the intermediate representation (IR), but yes
translating from AST to (finally) byte codes)


> One for the case when we don't care of the result (we will pop it off the
> stack), we just want the effect.
>

Ok.


> The other case when we want to keep the resulting value on the stack.
>

Who decides which to use, when do I know that I need to use, the effect
translator only or the value translator?


>
> 2016-12-05 8:47 GMT+01:00 Nicolai Hess <[email protected]>:
>
>> Hi,
>>
>> I need a short description for what the OCASTTranslator subclasses
>> OCASTTranslatorForEffect
>> OCASTTranslatorForValue
>> are.
>>
>> I don't fully understand the usage.
>>
>> thanks in advance
>> Nicolai
>>
>>
>

Reply via email to