首页> 外国专利> Method and apparatus for a programming language having fully undoable, timed reactive instructions

Method and apparatus for a programming language having fully undoable, timed reactive instructions

机译:具有完全不可撤销的定时反应式指令的编程语言的方法和装置

摘要

A method and apparatus for providing an undoable programming language. More specifically the present invention relates to providing a fully undoable programming language, where the language includes a fully undoable core language portion and a conventional language portion. In an embodiment of the present invention, a method of encoding a general-purpose undoable programming language to enable fully undoable instructions includes encoding a fully undoable core imperative language portion having a plurality of undoable core instructions, each of the plurality of undoable core instructions to perform at least one undoable operation upon execution, and the at least one undoable operation being fully undoable until final termination of a program written using any of the plurality of undoable core instructions. The method also includes encoding a conventional language portion including a plurality of conventional instructions, each of the plurality of conventional instructions to perform at least one permanent operation upon execution, the at least one permanent operation being permanent upon final termination of the execution of the conventional instruction and each of the plurality of conventional instructions being callable by at least one of the plurality of undoable core instructions.
机译:一种用于提供不可撤销的编程语言的方法和装置。更具体地,本发明涉及提供一种完全不可撤销的编程语言,其中该语言包括完全不可撤销的核心语言部分和常规语言部分。在本发明的实施例中,一种编码通用可撤销编程语言以实现完全可撤销指令的方法包括:对具有多个不可撤销核心指令的完全不可撤销核心命令性语言部分进行编码,所述多个不可撤销核心指令中的每一个用于在执行时执行至少一个可撤消操作,并且至少一个可撤消操作是完全可撤消的,直到使用多个可撤消核心指令中的任何一个最终编写的程序最终终止为止。所述方法还包括对包括多个常规指令的常规语言部分进行编码,所述多个常规指令中的每个常规指令在执行时执行至少一个永久操作,所述至少一个永久操作在常规执行的最终终止时是永久的。指令和多个常规指令中的每一个可由多个不可撤销核心指令中的至少一个调用。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号