[antlr-interest] Problems using the command-line grammar interpreter
Kay Roepke
kroepke at classdump.org
Sat Oct 14 10:37:18 PDT 2006
On 14. Oct 2006, at 14:52 Uhr, Kay Roepke wrote:
> Wouldn't you have to say
> org.antlr.tool.Interp Pseudocode2.g 'WS ASSIGN' ../test.slpc
> ?
>
> you cannot ignore parser rules, only tokens (assign vs. ASSIGN) and
> I think you have to supply the tokens to ignore in a string, thus
> the single quotes on the command line.
Nevermind. My mistake here.
It seems to be that auto-backtracking triggers some issues here. Ter
might know better...without backtrack=true it works for me.
-k
--
Kay Röpke <kroepke at classdump.org>
classdump Software
Key fingerprint = A849 0F2C C322 4022 379E 8661 7E1B FE0D 4CD2 A6D0
More information about the antlr-interest
mailing list