I want to switch from yacc. So I've looked on Videos from Scott
Stanchfield <http://vimeo.com/user566590> , especially on Part9 about a
tree grammar.

I've found a problem with an unary operator. The Interpreter in Eclipse
works fine, but the grammar tree not.

It simply can't accept things like this:

 

-5 - - + - 4

 

I've attached also my files. Is there a way, how can I ask somebody
else, than me? I assume, it is something with left/right association, is
it?

 

Thank you for hints

 

Richard

 

 

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

Attachment: Sample4.g
Description: Sample4.g

Attachment: EvaluatorWalker.g
Description: EvaluatorWalker.g

Attachment: Test4.java
Description: Test4.java

-- 
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