2 ms·
Author here. Yes, it's an approximate conversion favoring readable output over exact semantics, so it won't run WordPress. It might still be useful for smaller
by pornel 6y ago
Author here.
Yes, it's an approximate conversion favoring readable output over exact semantics, so it won't run WordPress. It might still be useful for smaller pieces of code. If you want to rewrite a PHP program in JS (which may be a bad idea…), it will do the most tedious step for you.
I wrote it just as a proof of concept. It was a warm-up before writing a similar tool for C to Rust source-to-source translation:
https://lib.rs/citrus https://lib.rs/citrus