A Case Study in Grammar Engineering

  • Tiago L. Alves
  • Joost Visser
Conference paper

DOI: 10.1007/978-3-642-00434-6_18

Part of the Lecture Notes in Computer Science book series (LNCS, volume 5452)
Cite this paper as:
Alves T.L., Visser J. (2009) A Case Study in Grammar Engineering. In: Gašević D., Lämmel R., Van Wyk E. (eds) Software Language Engineering. SLE 2008. Lecture Notes in Computer Science, vol 5452. Springer, Berlin, Heidelberg

Abstract

This paper describes a case study about how well-established software engineering techniques can be applied to the development of a grammar. The employed development methodology can be described as iterative grammar engineering and includes the application of techniques such as grammar metrics, unit testing, and test coverage analysis. The result is a grammar of industrial strength, in the sense that it is well-tested, it can be used for fast parsing of high volumes of code, and it allows automatic generation of support for syntax tree representation, traversal, and interchange.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag Berlin Heidelberg 2009

Authors and Affiliations

  • Tiago L. Alves
    • 1
  • Joost Visser
    • 2
  1. 1.University of Minho, Portugal, and Software Improvement GroupThe Netherlands
  2. 2.Software Improvement GroupThe Netherlands

Personalised recommendations