systemml-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janardhan Pulivarthi <janardhan.pulivar...@gmail.com>
Subject Re: file location for `import org.apache.sysml.parser.dml.DmlParser.WhileStatementContext`
Date Thu, 21 Sep 2017 16:17:58 GMT
Thanks, Ted Yu.

I am implementing builtin `xor(0, 0)` for example, do the following snippet
will generate the context that is needed. Here https://github.com/
apache/systemml/blob/master/src/main/java/org/apache/
sysml/parser/dml/Dml.g4#L154

op=('xor') '(' left=expression ',' right=expression ')' #
BooleanXorExpression
Thanks,
Janardhan

On Thu, Sep 21, 2017 at 12:05 PM, Ted Yu <yuzhihong@gmail.com> wrote:

> I believe it is generated class.
>
> See the following from docs/beginners-guide-caffe2dml.md :
>
> Dml.g4      ---> antlr  ---> DmlLexer.java, DmlListener.java,
> DmlParser.java ---> parse foo.dml
>
> On Thu, Sep 21, 2017 at 9:01 AM, Janardhan Pulivarthi <
> janardhan.pulivarthi@gmail.com> wrote:
>
> > Hi,
> >
> > Can somebody point me out the `DmlParser` class?. where this file is
> being
> > imported from `import
> > org.apache.sysml.parser.dml.DmlParser.WhileStatementContext`
> >
> > Thanks.
> >
>

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