X-RayPHP 引擎编译器钩子
X-Ray 运行定义Zend 引擎 include()
, require()
and eval()
钩子:
使用方法:
// adding a compiler hook: xray\set_compiler_hook(function(string $source, string $filename = null) : string { if ($filename === null) { // here we intercept source included through eval() // do transformations on $source and return the new $source to be included } else { // here we intercept source included from a *.php file // do transformations on $source and return the new $source to be included } }); // removing the compiler hook: $hook = xray\restore_compiler_hook();
安装方法
git clone https://github.com/marcioAlmada/xray
cd xray
phpize
./configure
make
sudo make install
最后在你的 /etc/php.ini 中增加 extension=xray.so
评论
wieldylccC编译器 c++编译器
用c++重构了lcc源代码,去掉了lcc中支持多种处理器的模式,仅支持x86一种。项目目标是编译器的源代码是易于理解的,编译出的asm文件也是易于理解的。目前项目状态是完成了lcc源代码向c++的改造
wieldylccC编译器 c++编译器
0
langcc新一代的编译器编译器
langcc是一个工具,它以标准BNF风格的格式获取语言的形式化描述,并自动生成一个编译器前端,包括语言的抽象语法树(AST)和遍历的数据结构定义、一个词典、一个解析器和一个pretty-printe
langcc新一代的编译器编译器
0
WinAVRGCCAVR编译器
WinAVR-20070525是Windows版的GCCAVR编译器,GCCAVR是一款免费的编译器,编译功能也挺强的,有一点不好就是不是那容易入手。总得来说还是一款很好的开发软件。
WinAVRGCCAVR编译器
0
texlive.jsLaTeX 编译器
texlive.js是一款javascript的LaTex编译器,可以把LaTeX代码转换成PDF。在线演示。用法:var pdftex = new PDFTeX();var latex_code =
texlive.jsLaTeX 编译器
0
4tHForth编译器
4tH是一个Forth语言的编译器,它不仅是一个一般的编译器,还可以将Forth语言转成其他语言的字节码和独立可运行程序,支持95%以上的Forth语言的字符集。
4tHForth编译器
0
GCJjava编译器
GCJ(GNUCompilerfortheJavaProgrammingLanguage,GCJ)是多元的,高效的,具有前瞻性的java编译器。它可以编译java源代码,将java字节码转换成本地机器
GCJjava编译器
0