发明名称 EXECUTION OF DYNAMIC LANGUAGES VIA METADATA EXTRACTION
摘要 Methods and devices for executing scripts written in a dynamic scripting language include parsing scripts in two stages, a pre-parse using a simplified grammar to generate script metadata regarding the high level structure of the script, and a full parse using the grammar and syntax of the dynamic scripting language and generated script metadata. The generated metadata may describe the high level structure that is present in the language of the script such as functions, object methods, and a top level call graph. The script metadata may be used during the full parse to determine the parts of the code to be fully parsed. The aspects minimize processing time spent in the parsing at run-time, and may eliminate processing required to interpret or compile sections of code that will not be executed. Script metadata as well as results of full parsing may also be cached to provide further processing efficiencies.
申请公布号 EP2524306(A1) 申请公布日期 2012.11.21
申请号 EP20110703742 申请日期 2011.01.10
申请人 QUALCOMM INCORPORATED 发明人 CASCAVAL, GHEORGHE CALIN;RESHADI, MEHRDAD H.
分类号 G06F9/44;G06F9/445;G06F9/45 主分类号 G06F9/44
代理机构 代理人
主权项
地址