Comment on Clue: an ANSI C compiler targeting high level languagesComments−ars17yI think the reverse of this would be pretty useful. I'm pretty sure it exists for perl - would be nice for php also.−pbiggar17yIf I may self-promote a little bit:http://phpcompiler.org−maximilian17yThe problem is that the reverse is actually really f'ing hard. Since the language is dynamic, you have to compile a million paths for all the different things variables can be. Thats what JIT is for.
Comments
I think the reverse of this would be pretty useful. I'm pretty sure it exists for perl - would be nice for php also.
If I may self-promote a little bit:
http://phpcompiler.org
The problem is that the reverse is actually really f'ing hard. Since the language is dynamic, you have to compile a million paths for all the different things variables can be. Thats what JIT is for.