I have some XBASIC (www.xbasic.org) code where the most significant part implements a model for biology (4k lines code). I would love to translate it to my favorite language, guess what: perl. Scientific codex requires that the code is identical, and therefore my simulations with model.
1) Is there a way (may be from QA or Testing) to test semantical equity of the models ? I mean that i didn't made mistakes during translation.
2) I thought that some automated translation would be the best choice. Anybody experience with an XBASIC->Perl translator (does any exist).
3) Because i never used BASIC, is there any reference or pitfalls-list for perl programmers. I.e. first array index in BASIC is 1 and not as in perl/c/cpp 0.
Thanks for any suggestions/comments to the three questions,Cheerio,
Murat
20040416 Edit by Corion: Removed PRE tags, added formatting
In reply to XBASIC to Perl translator: semantical equity by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |