Hello. I download the grammar for Sparql query language from there:

http://code.google.com/p/sparkle-g/downloads/list, 

archive sparkle-g-2.0.zip, file Sparql.g

I has generate the grammar and try use it. I has no problem with lexer
output, it work fine, but I don't know how access to AST tree. In ANTLR
examples there are some methods in generated Parser that return AST tree,
but in my generated parser methods for matching (e.g. query) has no return
result. I suppose that I must call this method and ast will be generated,
then I must use standart antlr methods to access it. I read documentation
but don't undestand what api to use for accessing builded AST.

-- 
View this message in context: 
http://n2.nabble.com/Creating-AST-with-third-party-grammar-tp4524691p4524691.html
Sent from the ANTLR mailing list archive at Nabble.com.

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to