Re: file location for `import org.apache.sysml.parser.dml.DmlParser.WhileStatementContext`

2017-09-22 Thread Matthias Boehm
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

file location for `import org.apache.sysml.parser.dml.DmlParser.WhileStatementContext`

2017-09-22 Thread Janardhan Pulivarthi
Hi, Can somebody point me out the `DmlParser` class? Thanks.

Re: file location for `import org.apache.sysml.parser.dml.DmlParser.WhileStatementContext`

2017-09-21 Thread Janardhan Pulivarthi
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 ')'

Re: file location for `import org.apache.sysml.parser.dml.DmlParser.WhileStatementContext`

2017-09-21 Thread Ted Yu
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, > > Ca

file location for `import org.apache.sysml.parser.dml.DmlParser.WhileStatementContext`

2017-09-21 Thread Janardhan Pulivarthi
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.