寻找transpiler:php到javascript [英] looking for transpiler: php to javascript
问题描述
我想知道,如果有任何transpiler可用,将(简单)PHP代码转换为javascript?
i wonder, if there's any transpiler available, which converts (simple) php code to javascript?
我不是是ajax东西或javascript库模仿php功能,但我正在寻找一个翻译,这是能够从PHP代码生成javascript代码(类似于谷歌做的与GWT和java到javascript的转换器)。
what i am not looking for is ajax stuff or javascript libraries imitating php functionality, but i am looking for a translater, which is able to generate javascript code from php code (similar of what google is doing with GWT and the java-to-javascript transpiler).
感谢!
推荐答案
单位php到js transpiler可以做到: a href =http://asmblah.github.io/uniter/ =nofollow> http://asmblah.github.io/uniter/
The uniter php to js transpiler can do this: http://asmblah.github.io/uniter/
这篇关于寻找transpiler:php到javascript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!