Well, this is obviously a great library, but it looks like textbook Java style.
So how about writing some simple regular expressions to transform it to Java syntax?
I'm thinking
s/use/import/
s/namespace/package/
s/\$//
and so on. This could be useful for other PHP code as well. You could call it Metal. It could replace HipHop.
Well, this is obviously a great library, but it looks like textbook Java style. So how about writing some simple regular expressions to transform it to Java syntax? I'm thinking
s/use/import/ s/namespace/package/ s/\$//
and so on. This could be useful for other PHP code as well. You could call it Metal. It could replace HipHop.