首页> 外国专利> 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.
机译:摘要“通过元数据提取执行动态语言”用于执行以动态脚本语言编写的脚本的方法和设备包括分两个阶段解析脚本,即使用简化语法进行的预解析以生成有关脚本高级结构的脚本元数据,并使用动态脚本语言的语法和语法以及生成的脚本元数据进行完整解析。所生成的元数据可以描述脚本语言中存在的高级结构,例如函数,对象方法和顶级调用图。脚本元数据可在完全解析期间用于确定要完全解析的代码部分。这些方面将在运行时花费在解析上的处理时间减至最少,并且可以消除解释或编译将不执行的代码段所需的处理。脚本元数据以及完整解析的结果也可以缓存,以提供进一步的处理效率。

著录项

  • 公开/公告号IN2012MN01456A

    专利类型

  • 公开/公告日2013-11-22

    原文格式PDF

  • 申请/专利权人

    申请/专利号IN1456/MUMNP/2012

  • 发明设计人 CASCAVAL GHEORGHE CALIN;RESHADI MEHRDAD H;

    申请日2012-06-12

  • 分类号G06F9/44;

  • 国家 IN

  • 入库时间 2022-08-21 15:57:35

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号