On Mon, Dec 5, 2016 at 8:51 AM, Nicolas Cellier <
[email protected]> wrote:

> Translate AST to 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.
> The other case when we want to keep the resulting value on the stack.
>

It translates AST to Opal's IR.

And yes one uses one or the other if one wants only the effect and don't
care about the result or if one cares about the result and the effect.


>
> 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