首页>
外国专利>
EXECUTION OF DYNAMIC LANGUAGES VIA METADATA EXTRACTION
EXECUTION OF DYNAMIC LANGUAGES VIA METADATA EXTRACTION
展开▼
机译:通过元数据提取来执行动态语言
展开▼
页面导航
摘要
著录项
相似文献
摘要
ABSTRACT “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.
展开▼