A better approach to the same idea would be to get Perl to parse the program, then analyse the AST, do optimisations on that, then emit C/C++ from it. What looks like an attempt at this, minus the optimisations part (as far as I can instantly tell with a quick look) is B::C.
In reply to Re: perl2c++.pl (I know Kung Fu)
by etj
in thread perl2c++.pl (I know Kung Fu)
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |