Recovering grammar relationships for the Java']Java Language Specification

被引:10
|
作者
Laemmel, Ralf [1 ]
Zaytsev, Vadim [1 ]
机构
[1] Univ Koblenz Landau, Software Languages Team, Koblenz, Germany
关键词
Grammar convergence; Grammar transformation; Grammar recovery; Grammar extraction; Language documentation; TRANSFORMATION; SYNTAX; RULES; XML;
D O I
10.1007/s11219-010-9116-5
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Grammar convergence is a method that helps in discovering relationships between different grammars of the same language or different language versions. The key element of the method is the operational, transformation-based representation of those relationships. Given input grammars for convergence, they are transformed until they are structurally equal. The transformations are composed from primitive operators; properties of these operators and the composed chains provide quantitative and qualitative insight into the relationships between the grammars at hand. We describe a refined method for grammar convergence, and we use it in a major study, where we recover the relationships between all the grammars that occur in the different versions of the Java Language Specification (JLS). The relationships are represented as grammar transformation chains that capture all accidental or intended differences between the JLS grammars. This method is mechanized and driven by nominal and structural differences between pairs of grammars that are subject to asymmetric, binary convergence steps. We present the underlying operator suite for grammar transformation in detail, and we illustrate the suite with many examples of transformations on the JLS grammars. We also describe the extraction effort, which was needed to make the JLS grammars amenable to automated processing. We include substantial metadata about the convergence process for the JLS so that the effort becomes reproducible and transparent.
引用
收藏
页码:333 / 378
页数:46
相关论文
共 50 条
  • [1] Recovering Grammar Relationships for the Java']Java Language Specification
    Laemmel, Ralf
    Zaytsev, Vadim
    [J]. 2009 NINTH IEEE INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION, PROCEEDINGS, 2009, : 178 - 186
  • [2] Recovering grammar relationships for the Java Language Specification
    Ralf Lämmel
    Vadim Zaytsev
    [J]. Software Quality Journal, 2011, 19 : 333 - 378
  • [3] A Domain-Oriented, Java']Java Specification Language
    Duc Minh Le
    [J]. 2015 Seventh International Conference on Knowledge and Systems Engineering (KSE), 2015, : 25 - 30
  • [4] Model-aware Language Specification with Java']Java
    Porubaen, Jaroslav
    Chodarev, Sergej
    [J]. 2015 13TH INTERNATIONAL CONFERENCE ON ENGINEERING OF MODERN ELECTRIC SYSTEMS (EMES), 2015,
  • [5] Attribute grammar-based language extensions for Java']Java
    Van Wyk, Eric
    Krishnan, Lijesh
    Bodin, Derek
    Schwerdfeger, August
    [J]. ECOOP 2007 - OBJECT-ORIENTED PROGRAMMING, PROCEEDINGS, 2007, 4609 : 575 - +
  • [6] Java']Java as a specification language for hardware-software systems
    Helaihel, R
    Olukotun, K
    [J]. 1997 IEEE/ACM INTERNATIONAL CONFERENCE ON COMPUTER-AIDED DESIGN - DIGEST OF TECHNICAL PAPERS, 1997, : 690 - 697
  • [7] JCML: A specification language for the runtime verification of Java']Java Card programs
    da Costa, Umberto Souza
    Moreira, Anamaria Martins
    Musicante, Martin A.
    Souza Neto, Placid A.
    [J]. SCIENCE OF COMPUTER PROGRAMMING, 2012, 77 (04) : 533 - 550
  • [8] Preliminary design of BML: A behavioral interface specification language for Java']Java bytecode
    Burdy, Lilian
    Huisman, Marieke
    Pavlova, Mariela
    [J]. FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING, PROCEEDINGS, 2007, 4422 : 215 - +
  • [9] Mapping Nautilus language into Java']Java: Towards a specification and programming environment for distributed systems
    Fuzitaki, CN
    Menezes, PB
    Machado, JP
    da Costa, SA
    [J]. COMPUTER AIDED SYSTEMS THEORY - EUROCAST 2003, 2003, 2809 : 243 - 252
  • [10] The language JAVA']JAVA
    Bohnlein, M
    [J]. WIRTSCHAFTSINFORMATIK, 1997, 39 (04): : 398 - 400