A Case Study in Grammar Engineering
- 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
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.
Unable to display preview. Download preview PDF.