An Automatic Generator for Compiler Testing
- 1 July 1982
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Software Engineering
- Vol. SE-8 (4) , 343-353
- https://doi.org/10.1109/tse.1982.235428
Abstract
A new method for testing compilers is presented. The compiler is exercized by compilable programs, automatically generated by a test generator. The generator is driven by a tabular description of the source language. This description is in a formalism which nicely extends context-free grammars in a context-dependent direction, but still retains the structure and readability of BNF. The generator produces a set of programs which cover all grammatical constructions of the source language, unless user supplied directives instruct otherwise. The programs generated can also be used to evaluate the performance of different compilers of the same source language.Keywords
This publication has 9 references indexed in Scilit:
- Logic programming and compiler writingSoftware: Practice and Experience, 1980
- Report on the Programming Language PLZ/SYSPublished by Springer Nature ,1978
- IO-macrolanguages and attributed translationsInformation and Control, 1977
- An Approach to Program TestingACM Computing Surveys, 1975
- A sentence generator for testing parsersBIT Numerical Mathematics, 1972
- The programming language pascalActa Informatica, 1971
- Automatic generation of test casesIBM Systems Journal, 1970
- Grammars with macro-like productionsPublished by Institute of Electrical and Electronics Engineers (IEEE) ,1968
- Semantics of context-free languagesTheory of Computing Systems, 1968