用于java编程语言的改进的XML语法

M. Topolnik
{"title":"用于java编程语言的改进的XML语法","authors":"M. Topolnik","doi":"10.1109/CONTEL.2005.185935","DOIUrl":null,"url":null,"abstract":"The benefits of using XML to encode program- ming language's source code have already been identified and XML syntaxes developed for this purpose. However, there is an absence of a systematic identification of the requirements that need to be met in order to fully leverage the potentials of XML and the key concept of the abstract syntax is being misinterpreted. Due to this the syntaxes have various deficiencies, a number of which are common to many of them. This paper clarifies the concepts, identifies these deficiencies, and proposes a new syntax for the Java programming language which avoids them. The superiority of the new syntax is demonstrated by comparing it with two of the most relevant publicly available syntaxes with the same purpose. I. INTRODUCTION The benefits of using XML to encode programming languages' source code have already been identified (1), (2) and XML syntaxes developed for this purpose (3), (4), (5). However, there is a lack of a systematic approach to the identification of more precise goals the syntax should achieve in order to fully leverage the potentials of this approach. Particularly, it appears that the central concept in the application of XML to source code, that of the abstract syntax, is not being interpreted properly. In order to explore this subject, a research project named Jezix was started. The main goal of the project was the development of an XML syntax for the Java pro- gramming language that is based on the correct treatment of the concept of the abstract syntax, which allows it to optimally leverage the identified potentials of XML. The results of the research were validated by demonstrating the proposed syntax's superiority over existing syntaxes. This was achieved by solving several code analysis prob- lems for the proposed and two of the most relevant existing syntaxes and then comparing the amount of effort needed and the properties of the resulting query code. The next section gives an overview of source code and XML. It repeats some well-known results of the formal language theory, but also clarifies important concepts and defines some terms used later. Section III presents the two key benefits of using XML for source code. Section IV reflects on the effects of using XML on the quality of the machine-to-human interface. Section V presents the most sensitive requirements the XML syntax has to meet. Section VI gives a critical overview of other existing syntaxes and identifies the common root of many of their deficiencies. Section VII briefly introduces the proposed syntax and proceeds to the presentation of the results of its comparison with the two other syntaxes. Finally, the closing section summarizes the achievements and conclusions of the Jezix project. II. OVERVIEW OF SOURCE CODE AND XML A programming language has two important compo- nents:","PeriodicalId":265923,"journal":{"name":"Proceedings of the 8th International Conference on Telecommunications, 2005. ConTEL 2005.","volume":"81 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2005-06-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"An improved XML syntax for the java programming language\",\"authors\":\"M. Topolnik\",\"doi\":\"10.1109/CONTEL.2005.185935\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The benefits of using XML to encode program- ming language's source code have already been identified and XML syntaxes developed for this purpose. However, there is an absence of a systematic identification of the requirements that need to be met in order to fully leverage the potentials of XML and the key concept of the abstract syntax is being misinterpreted. Due to this the syntaxes have various deficiencies, a number of which are common to many of them. This paper clarifies the concepts, identifies these deficiencies, and proposes a new syntax for the Java programming language which avoids them. The superiority of the new syntax is demonstrated by comparing it with two of the most relevant publicly available syntaxes with the same purpose. I. INTRODUCTION The benefits of using XML to encode programming languages' source code have already been identified (1), (2) and XML syntaxes developed for this purpose (3), (4), (5). However, there is a lack of a systematic approach to the identification of more precise goals the syntax should achieve in order to fully leverage the potentials of this approach. Particularly, it appears that the central concept in the application of XML to source code, that of the abstract syntax, is not being interpreted properly. In order to explore this subject, a research project named Jezix was started. The main goal of the project was the development of an XML syntax for the Java pro- gramming language that is based on the correct treatment of the concept of the abstract syntax, which allows it to optimally leverage the identified potentials of XML. The results of the research were validated by demonstrating the proposed syntax's superiority over existing syntaxes. This was achieved by solving several code analysis prob- lems for the proposed and two of the most relevant existing syntaxes and then comparing the amount of effort needed and the properties of the resulting query code. The next section gives an overview of source code and XML. It repeats some well-known results of the formal language theory, but also clarifies important concepts and defines some terms used later. Section III presents the two key benefits of using XML for source code. Section IV reflects on the effects of using XML on the quality of the machine-to-human interface. Section V presents the most sensitive requirements the XML syntax has to meet. Section VI gives a critical overview of other existing syntaxes and identifies the common root of many of their deficiencies. Section VII briefly introduces the proposed syntax and proceeds to the presentation of the results of its comparison with the two other syntaxes. Finally, the closing section summarizes the achievements and conclusions of the Jezix project. II. OVERVIEW OF SOURCE CODE AND XML A programming language has two important compo- nents:\",\"PeriodicalId\":265923,\"journal\":{\"name\":\"Proceedings of the 8th International Conference on Telecommunications, 2005. ConTEL 2005.\",\"volume\":\"81 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2005-06-15\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of the 8th International Conference on Telecommunications, 2005. ConTEL 2005.\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/CONTEL.2005.185935\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 8th International Conference on Telecommunications, 2005. ConTEL 2005.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CONTEL.2005.185935","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

摘要

使用XML对编程语言的源代码进行编码的好处已经确定,并且为此目的开发了XML语法。但是,为了充分利用XML的潜力,缺乏对需要满足的需求的系统标识,并且抽象语法的关键概念正在被误解。由于这个原因,语法有各种缺陷,其中一些缺陷对许多语法来说是共同的。本文澄清了这些概念,指出了这些不足,并提出了一种新的Java编程语言语法来避免这些问题。通过将新语法与具有相同目的的两种最相关的公开可用语法进行比较,可以证明新语法的优越性。使用XML编码编程语言源代码的好处已经被确定(1)、(2),并且为此目的开发了XML语法(3)、(4)、(5)。然而,缺乏一种系统的方法来确定语法应该达到的更精确的目标,以便充分利用这种方法的潜力。特别是,在将XML应用于源代码的过程中,似乎没有正确地解释抽象语法这一核心概念。为了探索这一主题,一个名为Jezix的研究项目启动了。该项目的主要目标是为Java编程语言开发一种XML语法,这种语法基于对抽象语法概念的正确处理,从而使其能够最佳地利用XML已识别的潜力。研究结果证明了所提出的语法相对于现有语法的优越性。这是通过解决几个代码分析问题来实现的——针对提议的语法和两种最相关的现有语法,然后比较所需的工作量和结果查询代码的属性。下一节将概述源代码和XML。它重复了形式语言理论的一些著名的结果,但也澄清了重要的概念,并定义了一些术语。第三节介绍了在源代码中使用XML的两个主要好处。第四节反映了使用XML对人机界面质量的影响。第V节介绍了XML语法必须满足的最敏感的要求。第六节对其他现有语法进行了批判性的概述,并指出了它们许多缺陷的共同根源。第七节简要介绍了拟议的语法,并继续介绍其与其他两种语法的比较结果。最后,结语部分总结了耶洗斯工程的成果和结论。2一门编程语言有两个重要的组成部分:
本文章由计算机程序翻译,如有差异,请以英文原文为准。
An improved XML syntax for the java programming language
The benefits of using XML to encode program- ming language's source code have already been identified and XML syntaxes developed for this purpose. However, there is an absence of a systematic identification of the requirements that need to be met in order to fully leverage the potentials of XML and the key concept of the abstract syntax is being misinterpreted. Due to this the syntaxes have various deficiencies, a number of which are common to many of them. This paper clarifies the concepts, identifies these deficiencies, and proposes a new syntax for the Java programming language which avoids them. The superiority of the new syntax is demonstrated by comparing it with two of the most relevant publicly available syntaxes with the same purpose. I. INTRODUCTION The benefits of using XML to encode programming languages' source code have already been identified (1), (2) and XML syntaxes developed for this purpose (3), (4), (5). However, there is a lack of a systematic approach to the identification of more precise goals the syntax should achieve in order to fully leverage the potentials of this approach. Particularly, it appears that the central concept in the application of XML to source code, that of the abstract syntax, is not being interpreted properly. In order to explore this subject, a research project named Jezix was started. The main goal of the project was the development of an XML syntax for the Java pro- gramming language that is based on the correct treatment of the concept of the abstract syntax, which allows it to optimally leverage the identified potentials of XML. The results of the research were validated by demonstrating the proposed syntax's superiority over existing syntaxes. This was achieved by solving several code analysis prob- lems for the proposed and two of the most relevant existing syntaxes and then comparing the amount of effort needed and the properties of the resulting query code. The next section gives an overview of source code and XML. It repeats some well-known results of the formal language theory, but also clarifies important concepts and defines some terms used later. Section III presents the two key benefits of using XML for source code. Section IV reflects on the effects of using XML on the quality of the machine-to-human interface. Section V presents the most sensitive requirements the XML syntax has to meet. Section VI gives a critical overview of other existing syntaxes and identifies the common root of many of their deficiencies. Section VII briefly introduces the proposed syntax and proceeds to the presentation of the results of its comparison with the two other syntaxes. Finally, the closing section summarizes the achievements and conclusions of the Jezix project. II. OVERVIEW OF SOURCE CODE AND XML A programming language has two important compo- nents:
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信