1 / 8

Static Type Analysis of Dynamically Typed Programming Language

Static Type Analysis of Dynamically Typed Programming Language. Author: Štěpán Šindelář (43600220) Supervisor: Matthew Roberts. The Aim: Static Type Analysis of PHP Code. PHP is a dynamic language → no type information, one variable: multiple types.

betsy
Download Presentation

Static Type Analysis of Dynamically Typed Programming Language

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Static Type Analysis of Dynamically Typed Programming Language Author: Štěpán Šindelář (43600220) Supervisor: Matthew Roberts

  2. The Aim: Static Type Analysis of PHP Code PHP is a dynamic language → no type information, one variable: multiple types. Static Analysis: analyse the code without executing it. can guarantee termination and bounds on complexity Aim: use static analysis to infer type information useful for integrated development environments useful for compiler back-ends In the context of Phalanger project The PHP compiler for .NET written in C#

  3. Work to be done • Research into various methods for static analysis • Implementation • Control Flow Graph construction • Generic framework for Data Flow Analysis • Type Analysis based on the generic framework • Evaluation • Final Report & Presentation

  4. Work to be done • Research into various methods for static analysis • Implementation • Control Flow Graph construction • Generic framework for Data Flow Analysis • Type Analysis based on the generic framework • Evaluation (...and bugfixing) • Final Report & Presentation

  5. Type Analysis Based on the Generic Framework • Finish the implementation • Provide a Command Line Interface • for testing & evaluation purposes

  6. Evaluation • Several PHP open source projects • Zend Framework, WordPress, PhpUnit ... • Run the analysis on their source code • fix bugs where possible • record actual errors discovered by the tool • possibly: performance benchmarking • possibly: compare to other tools' results

  7. Final Report & Presentation • Analysing PHP • PHP Semantics Caveats • Theoretical Background • My Approach – theory used and its adaptation to PHP • Existing Software • Implementation • Evaluation

  8. Thank you for you attention QA

More Related