首页> 外国专利> ACCELERATED PARSING IN A VIRTUAL MACHINE FOR SIMILAR JAVASCRIPT CODES IN WEBPAGES

ACCELERATED PARSING IN A VIRTUAL MACHINE FOR SIMILAR JAVASCRIPT CODES IN WEBPAGES

机译:网页中类似Java脚本代码的虚拟机中的加速解析

摘要

A method and computing device for generating an intermediate representation of received source code for compiling or interpreting on the computing device are disclosed. The method may include receiving source code at the computing device and finding similar source code cached on the computing device that is not the same as the received source code. The received source code is compared to the similar source code to determine one or more differences between the received source code and the similar source code. Metadata for the similar source code is accessed, an intermediate representation of the cached source code is retrieved, and the intermediate representation of the cached source code is first copied and the copy is modified using the one or more differences in connection with the metadata to generate an intermediate representation for the received source code.
机译:公开了一种用于生成所接收的源代码的中间表示以在该计算设备上进行编译或解释的方法和计算设备。该方法可以包括:在计算设备处接收源代码;以及找到缓存在计算设备上的与接收到的源代码不同的相似源代码。将接收到的源代码与相似源代码进行比较,以确定接收到的源代码与相似源代码之间的一个或多个差异。访问相似源代码的元数据,检索缓存的源代码的中间表示,然后首先复制缓存的源代码的中间表示,并使用与元数据有关的一个或多个差异来修改副本,以生成接收到的源代码的中间表示。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号