I had to google 4Test and found out it is an object-oriented language similar to C++.
If you look around you will not find any complete language converters between perl, java, c++, python... because that is far from trivial. Only writing a parser for such a language is a project that is measured in months
Your only hope may be to concentrate on a subset of the language and accept failure on some scripts, maybe even accept that translations may be defect without being able to detect that.
For parsing I can recommend Parse::RecDescent, as long as the language is highly structured. I wouldn't want to parse perl itself with RecDescent, but a clean parser-friendly language or a suitable subset might be acceptable
In reply to Re: Parsing and Translation
by jethro
in thread Parsing and Translation
by speedyshady
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |