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 <yuzhih...@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.pulivar...@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.
> >
>

Reply via email to