Sciweavers

ACISICIS
2009
IEEE

A Systematic Framework for Grammar Testing

14 years 5 months ago
A Systematic Framework for Grammar Testing
Grammars, especially context-free grammars, are widely used within and even outside the field of computer science. In this paper, we present a systematic framework for grammar testing, in which some commonly used techniques for testing programs such as module testing and integration testing are adapted and applied to the testing of grammars. We propose a nonterminal-based approach for grammar modularization, combined with an iterative process for grammar testing in which a grammar is tested with respect to both a generator and a recognizer. Experiments on grammars for some non-trivial programming languages such as C and Java demonstrate the feasibility and efficiency of the testing framework and the proposed approaches.
Lixiao Zheng, Haiming Chen
Added 21 Jul 2010
Updated 21 Jul 2010
Type Conference
Year 2009
Where ACISICIS
Authors Lixiao Zheng, Haiming Chen
Comments (0)