16 Mar 2012, 17:44
Generic-user-small

Todd Nine (1 post)

Hi all, I’m working on a query engine for Usergrid. I’m updating our grammer and our logic so that antlr returns an AST for the where clause. In doing this, I’m running into some issues. I’ve read chapter 11, however it never actually shows how to link the grammer to the code that comprises the nodes. My code is here.

https://gist.github.com/ee5ef357b9261ff1bfa9

Can you please provide an example on how I would go about creating a LessThan node in my simple grammer and objects? I’m using java and antlr 3.4

Thanks, Todd

  You must be logged in to comment