首页> 外文学位 >TWO-LEVEL GRAMMAR: AN IMPLEMENTABLE METALANGUAGE FOR CONSISTENT AND COMPLEMENTARY LANGUAGE SPECIFICATIONS.
【24h】

TWO-LEVEL GRAMMAR: AN IMPLEMENTABLE METALANGUAGE FOR CONSISTENT AND COMPLEMENTARY LANGUAGE SPECIFICATIONS.

机译:两级语法:用于一致和互补的语言规范的不可实现的语言。

获取原文
获取原文并翻译 | 示例

摘要

Programming languages have traditionally been defined operationally, axiomatically or denotationally. This work introduces Two-Level Grammar (TLG) as a programming language for giving consistent and complementary definitions of programming languages in an implementable manner.;To demonstrate the capability of TLG to give consistent and complementary language specifications, a Pascal-like language with recursive procedures and recursive functions and the usual control constructs is used as a subject language. The uniqueness of this work is that this is first time a single metalanguage is being used to define languages using the three accepted methods. Moreover, TLG can specify context-free syntax, static and dynamic semantics of a programming language and these three components can be given separately to enhance modularity of the definitions.;The significance of the results is that semantics-directed implementation is made possible from an operational or a denotational definition. Since the axiomatic definition is executable, partially automated program verification within the framework of a language definition is achieved. Hence an integrated system for interpretation or verification is realizable, the components of which are derived automatically from the TLG specification of language. The advantages of TLG over other metalanguages are that it is readable, implementable and can completely specify a programming language. Therefore, it can be a convenient tool for language designers, implementors, and users.;It is shown that TLG is a functional programming language. Advantages of using the TLG as a programming language are readability and strong typing of function domains. To execute TLG specifications directly, algorithms for sequential and data flow models of interpretation of TLG's are given. TLG allows the closest to programming in natural language we have seen, and hence TLG programs are self-documenting. With the above advantages, TLG is an elegant executable metalanguage.
机译:传统上,编程语言是在操作上,公理上或符号上定义的。这项工作引入了二级语法(TLG)作为一种编程语言,以一种可实现的方式给出一致和互补的编程语言定义;;为了演示TLG提供一致和互补的语言规范的能力,一种类似于Pascal的语言具有递归过程和递归函数以及通常的控制结构用作主题语言。这项工作的独特之处在于,这是第一次使用一种元语言来使用三种公认的方法来定义语言。此外,TLG可以指定编程语言的无上下文语法,静态和动态语义,并且可以分别给出这三个组件以增强定义的模块性。结果的意义在于,可以通过以下方式来实现语义定向的实现:操作性或名词性定义。由于公理定义是可执行的,因此可以在语言定义的框架内实现部分自动化的程序验证。因此,可以实现用于解释或验证的集成系统,其组件是从语言的TLG规范自动得出的。与其他元语言相比,TLG的优势在于它易读,可实现并且可以完全指定一种编程语言。因此,它可以为语言设计者,实现者和用户提供方便的工具。证明TLG是一种功能编程语言。使用TLG作为编程语言的优点是可读性强,功能域的类型强。为了直接执行TLG规范,给出了用于解释TLG的顺序模型和数据流模型的算法。 TLG允许我们使用最接近的自然语言进行编程,因此TLG程序是自记录的。具有以上优点,TLG是一种优雅的可执行元语言。

著录项

  • 作者

    EDUPUGANTY, BALANJANINATH.;

  • 作者单位

    The University of Alabama at Birmingham.;

  • 授予单位 The University of Alabama at Birmingham.;
  • 学科 Computer science.
  • 学位 Ph.D.
  • 年度 1987
  • 页码 168 p.
  • 总页数 168
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号