Dec. 5, 2016
8:32 a.m.
On Mon, Dec 5, 2016 at 8:51 AM, Nicolas Cellier < nicolas.cellier.aka.nice@gmail.com> 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 <nicolaihess@gmail.com>:
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