Re: In translation between high level languages, what are...
Saturday, March 24, 2001 11:09 AM
I can't remember much about TXL since I've not looked at it in years, but I remember it as being non-linear in cost of translation. I think also that you kind of made one big translation spec whereas ANTLR makes you break up the parser and tree parser/translator into separate specs (which I prefer since I have way more control).
Limitations? Well, ANTLR specs surely are Turing-complete so it's really a matter of how much effort is required for the two tools. My guess is that TXL is great for writing small things (like examples in publications), but for real translation problems where speed / size count, ANTLR might be better.