In translation between high level languages, what are...
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Feriel_Lahlali
Posted On:   Thursday, March 15, 2001 03:53 AM

In translation between high level languages, what are the limitations-if any- of ANTLR as compared with full source-to-source tranlator generators like TXL? On which platforms has it been used up till now?

Re: In translation between high level languages, what are...

Posted By:   Terence_Parr  
Posted On:   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.
About | Sitemap | Contact