[antlr-interest] Confused about backtracking in lexer rules

Terence Parr parrt at cs.usfca.edu
Sun Nov 16 11:54:11 PST 2008


On Nov 16, 2008, at 11:51 AM, Jim Idle wrote:
> To be honest I think that wiki syntax is so bad (I don't even find  
> it that helpful to marking things up), that a grammar to parser such  
> a thing is going to be so full of exceptions and hacks that it  
> probably isn't worth it.

There's almost no syntax in a wiki format; it's all lexical structure.  
I've implemented to wiki like format, both of which I did using ANTLR  
lexers (in filter=true mode).  Works great.

Ter


More information about the antlr-interest mailing list