[antlr-interest]

Terence Parr parrt at jguru.com
Fri May 16 10:14:31 PDT 2003


On Friday, May 16, 2003, at 02:44  AM, Leonardo Freitas wrote:

> I am new at ANTLR but from I've found it the most appropriate for me 
> from the ones availble (JavaCC, GOLD, byacc, etc) for Java.
>
> I am implementing a language where the grammar is a bit different.
> It is supposed to recognise LaTeX code and parse it appropriately.
> In fact, it must consider only some LaTeX environments and treat the 
> sections of the environment as part of the possible grammar, leaving 
> all other LaTeX input as comments.
>
> Does anyone know something interesting in this field of a grammar for 
> parts of LaTeX using ANTLR?

Hi Leonardo,

ANTLR has some nice "filtering" abilities such as TokenStream's and 
lexical "filter" option.  Should handle partial recognition issues for 
you.  As for a LaTeX grammar, I am unaware of one, but I'd be happy to 
answer your questions in return for the LaTeX grammar as public domain!

Best regards,
Terence
--
Co-founder, http://www.jguru.com
Creator, ANTLR Parser Generator: http://www.antlr.org
Co-founder, http://www.peerscope.com link sharing, pure-n-simple
Lecturer in Comp. Sci., University of San Francisco


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




More information about the antlr-interest mailing list