Testing and Error Detection for Formal Specification of Programming Languages and their Translation
Testing and Error Detection for Formal Specification of Programming Languages and their Translation
批准号:
05680269
负责人:
SASSA Masataka
金额:
$1.28万
依托单位国家:
日本
项目类别:
Grant-in-Aid for General Scientific Research (C)
财政年份:
1993
资助国家:
日本
项目状态:
已结题
起止时间:
1993 至 1994
中文摘要
在这项研究中,我们开发了测试和调试编程语言及其翻译的形式规范的方法(例如,有几种方法来描述这样的规范。其中,我们采用了属性语法,它可以表达语义(静态语义),执行(动态语义和解释)和翻译(例如,为了测试和调试一个正式的规范,从实际的角度来看,以下两种工具是必要的:(a)当我们发现错误时,协助调试说明书的工具(在语义、执行和翻译方面),以及(B)生成源程序的工具,用于测试规范,1.对于(a),我们将最初在调试逻辑程序设计语言中提出的算法调试技术应用于属性文法,提出了一种错误定位方法。对该算法作了进一步的扩展,并阐明了该算法与属性文法类的关系。我们使用一个名为Jun的生成器实现了一个原型系统,该生成器基于一类属性文法。我们认为这项研究具有很高的独创性,因为以前的工作很少涉及属性语法的系统调试。2.对于(B),我们开发了一种方法,用于生成语法和语义都正确/不正确的源程序,给定的语法和语义的编程语言。用Prolog语言实现了一个原型系统。我们研究的一个特点是,我们可以通过设置属性语法的上下文条件(编程语言必须满足的语义条件)true/false来生成语义正确/不正确的测试程序。
英文摘要
In this research we developed methods for testing and debugging the formal specification of programming languages and their translation(e.g., compilers).There are several ways to describe such a specification. Among others, we adopted the attribute grammar which can express the semantics(static semantics), execution(dynamic semantics and interpretation), and translation(e.g., code generation) of programming languages.In order to test and debug a formal specification, the following two kinds of tools are necessary from the practical point of view : (a) tools to assist debugging the specification when we find errors(in semantics, execution, and translation) in the specification, and(b) tools to generate source programs, to be used to test the specification, from the formal specification of the programming language and its translation.1.As for(a), we developed a bug locating method by applying the algorithmic debugging technique, originally proposed in debugging logic programming languages, to attribute grammars. We further made extensions to the algorithm and clarified the relation of the algorithm to attribute grammar classes. We made a prototype system using a generator called Jun, which is based on a class of attribute grammars. We think this research has high originality, since previous work rarely deals with systematic debugging of attribute grammars.2.As for(b), we developed a method for generating both syntactically and semantically correct/incorrect source programs, given the syntax and semantics of a programming language. A prototype system is made using Prolog. A characteristic feature of our research is that we can generate semantically correct/incorrect test programs by setting the context condition(semantic condition that a programming language must satisfy) of attribute grammars true/false.
期刊论文(19)
专著(0)
科研奖励(0)
会议论文
登录
查看更多内容
佐々政孝: "属性文法によるコンパイラの記述例" 情報処理. 35,4. 358-369 (1994)
Masataka Sasa:“使用属性语法的编译器描述示例”信息处理35,4。
DOI:
--
发表时间:
期刊:
影响因子:
--
作者:
[]
通讯作者:
Ookubo, T., Sasaki, A., Wakita, K.and Sassa, M.: "A Debugger for Attribute Grammars(in Japanese)" SIG SYM-78, IPS Japan. (1995)
Ookubo, T.、Sasaki, A.、Wakita, K. 和 Sassa, M.:“属性语法调试器(日语)”SIG SYM-78,IPS 日本。
DOI:
--
发表时间:
期刊:
影响因子:
--
作者:
[]
通讯作者:
Oota, Y., Wakita, K.and Sassa, M.: "Design and Implementation of a Test Program Generator Based on Attribute Grammars(in Japanese)" SIG SE-103, IPS Japan. (1995)
Oota, Y.、Wakita, K. 和 Sassa, M.:“基于属性语法的测试程序生成器的设计和实现(日语)”SIG SE-103,IPS 日本。
DOI:
--
发表时间:
期刊:
影响因子:
--
作者:
[]
通讯作者:
Sassa, M.: "An Example of Compiler Description Using an Attribute Grammar(in Japannese)" Johoshori, IPS Japan. Vol.35, No.4. 358-369 (1994)
Sassa, M.:“使用属性语法的编译器描述示例(日语)”Johoshori,IPS 日本。
DOI:
--
发表时间:
期刊:
影响因子:
--
作者:
[]
通讯作者:
大久保琢也,脇田建,佐々政孝ほか: "属性文法に対するデバッガの開発" 日本ソフトウェア科学会第11回大会論文集. 11. 345-348 (1994)
Takuya Okubo、Ken Wakita、Masataka Sasa 等人:“属性语法调试器的开发”日本软件学会第 11 届年会论文集 11. 345-348 (1994)。
DOI:
--
发表时间:
期刊:
影响因子:
--
作者:
[]
通讯作者:
共 15 条
Generation and verification of COINS compiler optimizers using temporal logic and high-level extensions of optimizers
-
批准号:22300007
-
项目类别:Grant-in-Aid for Scientific Research (B)
-
资助金额:$11.56万
-
财政年份:2010
-
负责人:SASSA Masataka
-
依托单位:
Generation and verification of compiler optimizers using temporal logic and high-level SSA form optimization considering aliases
-
批准号:19300006
-
项目类别:Grant-in-Aid for Scientific Research (B)
-
资助金额:$12.06万
-
财政年份:2007
-
负责人:SASSA Masataka
-
依托单位:
New methods for translation and optimization using SSA form in compilers and their validation systems
-
批准号:16500016
-
项目类别:Grant-in-Aid for Scientific Research (C)
-
资助金额:$2.24万
-
财政年份:2004
-
负责人:SASSA Masataka
-
依托单位:
Optimizations for advanced architectures using compiler infrastructures
-
批准号:13680399
-
项目类别:Grant-in-Aid for Scientific Research (C)
-
资助金额:$2.3万
-
财政年份:2001
-
负责人:SASSA Masataka
-
依托单位:
Compilers for newest architectures using the SSA form intermediate language
-
批准号:11680347
-
项目类别:Grant-in-Aid for Scientific Research (C)
-
资助金额:$2.3万
-
财政年份:1999
-
负责人:SASSA Masataka
-
依托单位:
Integrated Programming Language Processor Generator with Algorithm Animation
-
批准号:08458065
-
项目类别:Grant-in-Aid for Scientific Research (B)
-
资助金额:$4.35万
-
财政年份:1996
-
负责人:SASSA Masataka
-
依托单位:
Development of Free Software for Practical Compiler Generator Based on Attribute Grammars
-
批准号:05558028
-
项目类别:Grant-in-Aid for Developmental Scientific Research (B)
-
资助金额:$3.9万
-
财政年份:1994
-
负责人:SASSA Masataka
-
依托单位:
Automatic Generation of an Integrated Programming Environment Based on Attribute Grammar Model
-
批准号:03680023
-
项目类别:Grant-in-Aid for General Scientific Research (C)
-
资助金额:$1.28万
-
财政年份:1991
-
负责人:SASSA Masataka
-
依托单位:
海外基金