Professional Documents
Culture Documents
Superior University Lahore: Compiler Construction Project Proposal& Plan
Superior University Lahore: Compiler Construction Project Proposal& Plan
Project Team
Student Name Program Rool number Email Address
Miss Maryam
Syntax analyzer for PHP
Change Record
Executive Summary
The purpose of this project to develop a compiler that is find any type(missing tag, syntax
mistake) of error in PHP . We are using different tools to build this project. We will build a
Syntax analyzer for PHP using flex code in this project.
1. Introduction
PHP syntax analyzer analyze the code for language and then show what does it really means
and find out if there is any type of syntax error(missing tag, function error) in code that the user
provide at run time. So for all these purpose we use lex tools. That will helpful for new and
inexperienced users.
4. Proposed Solution
Error is very difficult to find in PHP code so We propose the solution to it by making the error messages more user
friendly and easy to understand for to execute the query with more efficiency and user friendly experience.
6. Implementation Tools and Techniques
Lex tools
Yacc
7. Project Plan
Makes Regular Expressions
Make the DFA’s
Write the Code in the flex.