Content area

Abstract

One important problem in software production is to control the functional correctness of programs. Such control is essential for complex, widely distributed programs, such as compilers. Many tools are available for the automatic generation of compilers, but the end result must be tested as not all the components are realized automatically. Different methods have been studied and developed to test compilers, but none has solved the problem completely and efficiently. A new method for testing compilers is described in which the compiler is exercised by compilable programs, automatically generated by a test generator. A tabular description of the source language drives the generator. The description is in a formalism which extends context-free grammars in a context-dependent direction, while still retaining 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 indicate otherwise. These programs can be used to evaluate the performance of different compilers of the same source language. Figures.

Details

10000008
Title
An Automatic Generator for Compiler Testing
Publication title
Volume
8
Issue
4
Pages
343-353
Number of pages
11
Publication year
1982
Publication date
Jul 1982
Publisher
IEEE Computer Society
Place of publication
New York
Country of publication
United States
Publication subject
ISSN
00985589
e-ISSN
19393520
CODEN
IESEDJ
Source type
Scholarly Journal
Language of publication
English
Document type
PERIODICAL
Accession number
00178761
ProQuest document ID
195593206
Document URL
https://www.proquest.com/scholarly-journals/automatic-generator-compiler-testing/docview/195593206/se-2?accountid=208611
Copyright
Copyright Institute of Electrical and Electronics Engineers, Inc. (IEEE) Jul 1982
Last updated
2024-12-02
Database
ProQuest One Academic