Semantic analysis of ambiguous types in dynamic languages
Autor: | Filip Zavoral, Jakub Misek |
---|---|
Rok vydání: | 2018 |
Předmět: |
050101 languages & linguistics
Source code General Computer Science Programming language Computer science media_common.quotation_subject Semantic analysis (machine learning) 05 social sciences Language code Computational intelligence Static program analysis 02 engineering and technology computer.software_genre Scalability 0202 electrical engineering electronic engineering information engineering 020201 artificial intelligence & image processing 0501 psychology and cognitive sciences Compiler Legacy code computer media_common |
Zdroj: | Journal of Ambient Intelligence and Humanized Computing. 10:2537-2544 |
ISSN: | 1868-5145 1868-5137 |
DOI: | 10.1007/s12652-018-0731-5 |
Popis: | The recent expansion of cloud-based solutions highlights that legacy programming languages and technologies, such as the PHP language, are still in heavy use. Furthermore, it turns out that for their effective integration into modern platforms, it is important to understand the legacy code base to provide modern analysis, testing and eventually compiler tooling. The dynamic language PHP would be the perfect candidate for such a synergy, due to its extensive usage, frequent issues in source codes and the need for a better performance and scalability. In this paper, we describe a solution that combines known static language code analysis techniques, and that is enhanced by numerous modifications. As a result, we have a design and implementation of a PHP dynamic language code analysis, compiler and runtime, which improves performance and allows for more advanced high-level code analysis and tools, all incorporated into the modern platform of .NET Core while taking advantage of the Microsoft Roslyn Compiler Platform. |
Databáze: | OpenAIRE |
Externí odkaz: |