Hi,
I would have to agree with the comments that Jam's lexer
and parser could be better. We had to increase our
Yacc stack to some 50000 nodes to parse our jam rules.
Thats because the current grammer is right-recusive
instead of left. Another "project" that I never got
to :)
Someone posted a fix for this a long time ago, to make it left recursive,
and it seems to work for jam2.3.
c) substitution (like ksh's $(var#) $(var~) or perls =~ )
I have done this using a :E modifier in the variable handling,
and the code was sent to Perforce. I've since changed the
syntax, anyone is welcome to the code (expand.c).
Paul.