首页> 外国专利> SYSTÈME ET PROCÉDÉ DE COMPILATION D'UN CODE DE LANGAGE DE HAUT NIVEAU EN UN SCRIPT EXÉCUTABLE SUR UNE PLATEFORME DE CHAÎNE DE BLOCS

SYSTÈME ET PROCÉDÉ DE COMPILATION D'UN CODE DE LANGAGE DE HAUT NIVEAU EN UN SCRIPT EXÉCUTABLE SUR UNE PLATEFORME DE CHAÎNE DE BLOCS

摘要

A computer-implemented method (and corresponding system) is provided that enables or facilitates the execution of a portion of source code, written in a high-level language (HLL), on a blockchain platform. The method and system can include a blockchain compiler, arranged to convert a portion of high-level source code into a form that can be used with a blockchain platform. This may be the Bitcoin blockchain or an alternative. The method can include : receiving the portion of source code as input; and generating an output script comprising a plurality of op codes. The op codes are a subset of op codes that are native to a functionally-restricted, blockchain scripting language. The outputted script is arranged and/or generated such that, when executed, the script provides, at least in part, the functionality specified in the source code. The blockchain scripting language is restricted such that it does not natively support complex control-flow constructs or recursion via jump-based loops or other recursive programming constructs. The step of generating the output script may comprise the unrolling at least one looping construct provided in the source code. The method may further comprise providing or using an interpreter or virtual machine arranged to convert the output script into a form that is executable on a blockchain platform.

著录项

  • 公开/公告号EP3649759A1

    专利类型

  • 公开/公告日2020.05.13

    原文格式PDF

  • 申请/专利权人

    申请/专利号EP18749140.2

  • 发明设计人

    申请日2018.07.05

  • 分类号

  • 国家 EP

  • 入库时间 2022-08-21 10:53:06

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号