On Defining Quality Based Grammar Metrics

Abstract : Grammar metrics have been introduced to measure the quality and the complexity of the formal grammars. The aim of this paper is to explore the meaning of these notions and to experiment, on several grammars of domain specific languages and of general purpose languages, existing grammar metrics together with new metrics based on grammar LR automaton and on the produced language. We discuss the results of this experiment and focus on the comparison between domain specific languages and general purpose languages grammars and on the evolution of the metrics between several versions of the same language.
Document type :
Conference papers
Complete list of metadatas

Contributor : Rémi Forax <>
Submitted on : Wednesday, September 7, 2011 - 4:01:44 PM
Last modification on : Wednesday, July 4, 2018 - 4:38:06 PM


  • HAL Id : hal-00620318, version 1


Julien Cervelle, Matej Crepinsek, Rémi Forax, Tomaz Kosar, Marjan Mernik, et al.. On Defining Quality Based Grammar Metrics. 2nd Workshop on Advances in Programming Languages (WAPL'09), Oct 2009, United States. pp.651-658. ⟨hal-00620318⟩



Record views