[antlr-interest] is there any way make loop staments without a tree?
Christian Meléndez
christianhxc at gmail.com
Mon Jun 16 07:46:01 PDT 2008
hi there, i just want to know if ther is possible to make a loop statement
(for and while) without a tree, if it is a way, how??, almost i already
finish the grammar only needs this. Or tell me a way how to do a simple for
or while instruccion, i need to do something like this
if you put
x = 0;
while (x < 5){
print(x);
x++;
}
the output is
01234
i just need how to make the loop, how to visit de condition and the
insturccions again
--
Saludos Cordiales,
Christian Melendez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080616/96a6d91e/attachment.html
More information about the antlr-interest
mailing list