Phc - The open source PHP compiler

  •        1009

phc is an open source compiler for PHP with support for plugins. In addition, it can be used to pretty-print or obfuscate PHP code, as a framework for developing applications that process PHP scripts, or to convert PHP into XML and back, enabling processing of PHP scripts using XML tools. It can compile PHP source into an (optimized) executable, Combine many php scripts into a single file and lot more.

http://phpcompiler.org/

Tags
Implementation
License
Platform

   




Related Projects

webpack-closure-compiler - Google Closure Compiler plugin for Webpack


Closure Compiler is the most advanced JavaScript optimization tool. It generates smallest bundle and emits efficient JavaScript code by doing whole program analysis and optimization, removing closures and inlining function calls, as well as tree-shaking for AMD, CommonJS and ES2015 modules. While there's JavaScript version of Closure Compiler, the original compiler is written in Java and thus Java version is more complete and performs better in terms of JavaScript code optimizations and compilation speed. If you want to use Java-based compiler, make sure you have installed Java SDK.

linter - Static Analysis Compiler Plugin for Scala


Linter is a Scala static analysis compiler plugin which adds compile-time checks for various possible bugs, inefficiencies, and style problems. Please help support the development of Linter.

peachpie - PeachPie - the PHP 7 compiler and runtime for .NET and .NET Core


We recommend using the project with caution and testing it thoroughly before utilizing PeachPie in a production environment. There may still be inconsistencies and incompatibilities with the PHP language; if you run into any issues, kindly let us know and we'll do our best to address them. Take a look at our Roadmap to see which features and extensions we still have to implement. PeachPie is a modern PHP compiler based on the Microsoft Roslyn compiler platform and drawing from our popular Phalanger project. It allows PHP to be executed within the .NET framework, thereby opening the door for PHP developers into the world of .NET – and vice versa.

Phalanger - The PHP Language Compiler for the .NET Framework


Phalanger is a new PHP implementation introducing the PHP language into the family of compiled .NET languages. It provides PHP applications an execution environment that is fast and extremely compatible with the vast array of existing PHP code. Phalanger maintains the way how PHP

Haxe - The Cross-Platform Toolkit


Haxe is an open source toolkit that allows you to easily build cross-platform tools and applications that target many mainstream platforms.


closure-compiler-handbook - How to use Google's Closure Compiler


This handbook is designed to help you understand how to use Closure Compiler and learn its features. The Closure Compiler is a tool for making JavaScript download and run faster. Instead of compiling from a source language to machine code, it compiles from JavaScript to better JavaScript. It parses your JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left. It also checks syntax, variable references, and types, and warns about common JavaScript pitfalls.

NotBasic, More Than Basic


NotBasic is an experimental programming language targets new programming paradigms such as function, dynamic, generic and concurrency. It also targets some compiler technologies like scanning, parsing, semantic analysis and also the integration with DLR.

scalac-scapegoat-plugin - Scala compiler plugin for static code analysis


Scapegoat is developed as a scala compiler plugin, which can then be used inside your build tool.Latest Release: 1.0.0See: [sbt-scapegoat](https://github.com/sksamuel/sbt-scapegoat) for SBT integration.

Co-dfns - High-performance, Reliable, and Parallel APL


The Co-dfns project aims to provide a high-performance, high-reliability compiler for a parallel extension of the Dyalog dfns programming language. The dfns language is a functionally oriented, lexically scoped dialect of APL. The Co-dfns language extends the dfns language to include explicit task parallelism with implicit structures for synchronization and determinism. The language is designed to enable rigorous formal analysis of programs to aid in compiler optimization and programmer productivity, as well as in the general reliability of the code itself. Our mission is to deliver scalable APL programming to information and domain experts across many fields, expanding the scope and capabilities of what you can effectively accomplish with APL.

JPHP - An alternative to Zend PHP, like JRuby and Jython only for PHP


JPHP is a new implementation for PHP which uses the Java VM. It supports many features of the PHP language (7.0+).How does it work? JPHP is a compiler like javac, it compiles php sources to JVM bytecode and then can execute the result on the Java VM. JPHP is not a replacement for the Zend PHP engine or Facebook HHVM.

Spider Compiler


Spider Compiler parses the input of a spider programming source file and compiles it (with help of csc.exe; the C#-Compiler) to an exe-file. This project is developed in C#.

UI Compiler .NET - JavaScript compiler/minifier built on Google Closure Compiler


A compiler/minifier for JavaScript, built on Google Closure Compiler and YUI Compressor. It provides a .NET component for integration and a windows UI, allowing compilation of multiple source files in to one single file.

compiler-explorer - Run compilers interactively from your web browser and interact with the assembly


Compiler Explorer is an interactive compiler. The left-hand pane shows editable C, C++, Rust, Go, D, Haskell, Swift and Pascal code. The right, the assembly output of having compiled the code with a given compiler and settings. Multiple compilers are supported, and the UI layout is configurable (thanks to GoldenLayout). There is also an ispc compiler ? for a C variant with extensions for SPMD. You can support this project on Patreon.

glow - Compiler for Neural Network hardware accelerators


Glow is a machine learning compiler and execution engine for various hardware targets. It is designed to be used as a backend for high-level machine learning frameworks. The compiler is designed to allow state of the art compiler optimizations and code generation of neural network graphs. This library is experimental and in active development. Glow lowers a traditional neural network dataflow graph into a two-phase strongly-typed intermediate representation (IR). The high-level IR allows the optimizer to perform domain-specific optimizations. The lower-level instruction-based address-only IR allows the compiler to perform memory-related optimizations, such as instruction scheduling, static memory allocation and copy elimination. At the lowest level, the optimizer performs machine-specific code generation to take advantage of specialized hardware features. Glow features a lowering phase which enables the compiler to support a high number of input operators as well as a large number of hardware targets by eliminating the need to implement all operators on all targets. The lowering phase is designed to reduce the input space and allow new hardware backends to focus on a small number of linear algebra primitives. The design philosophy is described in an arXiv paper.

PH7 - An Embedded Implementation of PHP (C Library)


PH7 is a in-process software C library which implements a highly-efficient embeddable bytecode compiler and a virtual machine for the PHP programming language. In other words, PH7 is a PHP engine which allow the host application to compile and execute PHP scripts in-process. PH7 is to PHP what SQLite is to SQL. As an embedded interpreter, it allows multiple interpreter states to coexist in the same program, without any interference between them. Programmatically, foreign functions in C/C++ can be added and values can be defined in the PHP environment. Being a quite small program, it is easy to comprehend, get to grips with, and use.

PHP4Mono - The Mono PHP Compiler


PHP4Mono is a compiler that enables Mono to run PHP code. It translates PHP scripts to Common Intermediate Language (CIL). Like that PHP scripts can be executed as console applications on Mono. You can even build GUIs directly from within a PHP script!

Protobuf-PHP - PHP implementation of Google's Protocol Buffers with a protoc plugin compiler


PHP implementation of Google's Protocol Buffers with a protoc plugin compiler

ASP Classic Compiler


This project hosts examples, tests and discussions of ASP Classic Compiler. ASP Classic Compiler is based on a VBScript compiler that compiles ASP pages into a .NET executable so that they can run inside the ASP.NET environment.

Clojurescript - Clojure to JS compiler


ClojureScript is a compiler for Clojure that targets JavaScript. It is designed to emit JavaScript code which is compatible with the advanced compilation mode of the Google Closure optimizing compiler. ClojureScript combines the reach of the JavaScript platform, the flexibility and interactive development of Clojure, and the whole-program optimization of Google Closure to provide the most powerful language for programming the web.

mrustc - Alternative rust compiler (re-implementation)


In-progress alternative rust compiler. Capable of building a fully-working copy of rustc, but not yet suitable for everyday use. This project is an attempt at creating a simple rust compiler in C++, with the ultimate goal of being a separate re-implementation.