[antlr-interest] Lexer vs Parser
Sinan
sinan.karasu at boeing.com
Wed May 22 08:22:05 PDT 2002
micheal_jor wrote:
>
> Hi All,
>
> Following on from my Unicode post, I would appreciate some advice on
> where to place some lexing/parsing decisions.
I look at the context dependence/well defined token boundaries.
Mostly do everything you can in the lexer. I did write a Fortran 77
parser
that does mostly everything in the parser. Since fortran-like languages
don't
have well defined keywords/delimiters.
call xyz(5)= format(write(6,7))
do 100 i=1.7
format(x5h)=x(3)
good luck...
if then then=else else if else=then then then=else
Sinan
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list