Recovering Grammar Relationships for the Java Language Specification
Ralf L\"ammel, Vadim Zaytsev

TL;DR
This paper introduces a refined grammar convergence method that automates the analysis of relationships between different versions of the Java Language Specification grammars, providing detailed transformation chains and insights.
Contribution
It presents a new, mechanized approach for grammar convergence, specifically applied to recover relationships among all JLS grammar versions, with detailed transformation operators and metadata.
Findings
Recovered relationships between all JLS grammar versions
Automated transformation chains capturing grammar differences
Enhanced transparency and reproducibility of the convergence process
Abstract
Grammar convergence is a method that helps 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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
