Program fragments are described either by strings in the concrete syntax or by constructor applications in the abstract syntax. By defining conversions between these forms, both may be intermixed. Program fragments are constructed by terminal and nonterminal symbols from the grammar and by variables having program fragments as values. Basic operations such as valuetransfer, composition and decomposition are defined for program fragments allowing more complicated operations to be implemented. Usual operations such as testing for equality are defined, and in addition more specialized operations such as testing that a program fragment is derivable from another and converting program fragments in concrete form to abstract form are defined. By introducing regular expressions in the grammar these may be used in program fragments in concrete form. By defining constructors for regular expressions these may also be used in program fragments in abstract form.
程序片段用具体语法中的字符串或抽象语法中的构造函数应用程序描述。通过定义这些形式之间的转换,可以将两者混合在一起。程序片段由语法中的末端和非末端符号以及以程序片段作为值的变量构成。为程序片段定义了诸如值传递,合成和分解之类的基本操作,从而可以实现更复杂的操作。定义了诸如相等性测试之类的常规操作,此外,还定义了诸如测试程序片段可从另一个程序片段派生并将程序片段以具体形式转换为抽象形式之类的更专门的操作。通过在语法中引入正则表达式,可以将这些正则表达式以具体形式用于程序片段中。通过为正则表达式定义构造函数,它们也可以抽象形式用于程序片段中。 P>
Department of Computer Science, University of California, Santa Barbara, California;
Center for the Study of Language and Information, Stanford University, Stanford, California;
Norwegian Computing Center, Osio, Norway;
Institute of Informatics, University of Oslo, Oslo, Norway;
机译:碎片图书馆的设计原则:最大限度地提高在学术界使用的基于药物碎片的药物发现(FBDD)程序的学习价值
机译:并发代数:并发命题动态逻辑片段的代数研究
机译:并发代数:并发命题动态逻辑片段的代数研究
机译:LuNA分段编程系统中数值程序的并行执行的优化
机译:齐次锥规划的代数视角,以及对称锥规划的原始-对偶二阶锥逼近算法。
机译:通用数据结构的代数动态编程
机译:碎片图书馆的设计原则:最大限度地提高在学术界使用的基于药物碎片的药物发现(FBDD)程序的学习价值