systemml-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Boehm <mboe...@googlemail.com>
Subject Re: file location for `import org.apache.sysml.parser.dml.DmlParser.WhileStatementContext`
Date Sat, 23 Sep 2017 06:31:46 GMT
I guess this is a just a delayed message, right? Ted was right, it's a
generated class, and hence not in the repo. However, when you build
SystemML, the generated source ends up in the src directory of the
org.apache.sysml.parser.dml package as well.

Note that for new builtin functions such as xor(), there is no need to
extend the parser at all. You just need to handle your function in the
right expression. All other boolean operators are in BooleanExpression but
the parsing is specific to custom operators. Hence, please extend
BuiltinFunctionExpression to simply handle and validate your xor function.
At the end of the day, all these are eventually mapped to the hops UnaryOp
(for not) and BinaryOp otherwise.

Regards,
Matthias

On Thu, Sep 21, 2017 at 8:49 AM, Janardhan Pulivarthi <
janardhan.pulivarthi@gmail.com> wrote:

> Hi,
>
> Can somebody point me out the `DmlParser` class?
>
> Thanks.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message