Design and Implementation of a PHP Compiler Front-end
نویسندگان
چکیده
This technical report describes the design and implementation of a front-end for phc, the open source PHP compiler. This front-end provides an excellent basis for developing tools which process PHP source code, and consists of a well-defined Abstract Syntax Tree (AST) specification for the PHP language, a lexical analyser and parser which construct the AST for a given script, and a visitor and transformation API for manipulating these ASTs.
منابع مشابه
Implementation of Low-Cost Architecture for Control an Active Front End Rectifier
In AC-DC power conversion, active front end rectifiers offer several advantages over diode rectifiers such as bidirectional power flow capability, sinusoidal input currents and controllable power factor. A digital finite control set model predictive controller based on fixed-point computations of an active front end rectifier with unity displacement of input voltage and current to improve dynam...
متن کاملAssessment and Design Enhancement of the Front End Energy Absorption Mechanism of a Locomotive Based on an Impact Scenario
This research is concerned with weighing the behavior of the front end energy absorption system of a locally manufactured locomotive in crash situations. The causes of the extensive damages to the energy absorption apparatus that includes the crash element and the buffer are studied. By choosing the proper damage model the conditions of the accident is simulated by using the ABAQUS engineering ...
متن کاملDesign and Implementation of a Voice-Based Medical Alert System for Medication Adherence
Non-adherence to prescribed medical treatment is a major health problem especially with chronic diseases such as HIV/AIDS, Diabetes, Tuberculosis and Malaria for which medication adherence is very critical especially in outpatient setting. This paper presents a voice-based mobile medical alert system (Voice MedAlert) for outpatient adherence. The system runs on client server architecture respon...
متن کاملSynthesizing Asynchronous Micropipelines with Design Compiler
We present an asynchronous micropipeline synthesis flow supporting conventional synthesizable HDL specifications. Using Synopsys Design Compiler as the front-end interfacing behavior specification, the synthesis core and the final netlist front-end ensures easy integration into conventional design flow. With our RTL to micropipeline re-implementation engine in the backend, conventional HDL spec...
متن کاملA practical solution for achieving language compatibility in scripting language compilers
Although scripting languages have become very popular, even mature scripting language implementations remain interpreted. Several compilers and reimplementations have been attempted, generally focusing on performance. Based on our survey of these reimplementations, we determine that there are three important features of scripting languages that are difficult to compile or reimplement. Since scr...
متن کامل