in reply to perl2c++.pl (I know Kung Fu)
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.
|
|---|