Java Tools Section Index | Page 94

Can I compile ANTLR to a binary executable (with GCJ?)?

How can I get an exception thrown in the lexer to escape out to the parser's invoker?

How can I know the context of an expression, like whether it is a statement itself or part of a while statement or actually a sub-expression?

How can I tell what subtree my tree walker is screwing up on?

How did I get an infinite loop in my parser?

How do I build a list of nodes with no root?

How do I fix this error: Incompatible type for method. Can't convert arev.ArevAST to int.

I want to use a syntactic predicate, but only with one alternative.

If you change a rule action to do manual tree building, don't forget to put the '!' on that alternative to turn off the automatic tree building--the results can be quite confusing.

My actions aren't getting executed when evaluating my syntactic predicates.

What am I doing to get a cycle in my tree?

What is a "protected" lexer rule?

What is ANTLR?

When do I use labels versus return values?

You can use ## as shorthand for the current rule subtree node in a tree walker. In PCCTS this was #0.

About | Sitemap | Contact