DocumentCode :
3637956
Title :
Mapping of Dynamic Language Constructs into Static Abstract Syntax Trees
Author :
Jakub Misek;Filip Zavoral
Author_Institution :
Dept. of Software Eng., Charles Univ. in Prague, Prague, Czech Republic
fYear :
2010
Firstpage :
625
Lastpage :
630
Abstract :
Software solutions performing automatic code analysis are very important, especially for code assistance capabilities or for extracting semantic metadata from the source code. These methods gather syntactic information from the source code and then in general they provide large set of implying semantics. With the increased focus on dynamic languages the problem emerges – the whole code semantic is known only at runtime and the analysis has to estimate larger relations. Within the project Phalanger, which is the compiler of the dynamic PHP language into a static environment, we have succeeded with converting most of dynamic constructs into the typical structures used by static code analyzers. That enables processing of most of dynamic language constructs in the classic static way. Moreover described methods simplifies source code prediction and other relevant tasks.
Keywords :
"Assembly","Syntactics","Semantics","Runtime","XML","Documentation","Reflection"
Publisher :
ieee
Conference_Titel :
Computer and Information Science (ICIS), 2010 IEEE/ACIS 9th International Conference on
Print_ISBN :
978-1-4244-8198-9
Type :
conf
DOI :
10.1109/ICIS.2010.100
Filename :
5590990
Link To Document :
بازگشت