Related articles |
---|
Compiler stress tests? pardo@cs.washington.edu (1997-01-02) |
Re: Compiler stress tests? d.sand@ix.netcom.com (Duane Sand) (1997-01-03) |
Re: Compiler stress tests? cliffc@risc.sps.mot.com (1997-01-03) |
Re: Compiler stress tests? clyde@hitech.com.au (1997-01-04) |
Re: Compiler stress tests? jeffncyn@internetmci.com (1997-01-12) |
Re: Compiler stress tests? gah@u.washington.edu (1997-01-16) |
Re: Compiler stress tests? stephen.baynes@soton.sc.philips.com (Stephen Baynes) (1997-01-17) |
Re: Compiler stress tests? jch@hazel.pwd.hp.com (John Haxby) (1997-01-22) |
From: | Duane Sand <d.sand@ix.netcom.com> |
Newsgroups: | comp.compilers |
Date: | 3 Jan 1997 23:05:51 -0500 |
Organization: | Netcom |
References: | 97-01-020 |
Keywords: | testing |
pardo@cs.washington.edu (David Keppel) wrote:
>Somebody asked me about this and I don't know the answer: where do you
>find compiler "stress test" generators/suites/etc.? Commercial
>products are fine.
About 10-15 years ago, there was a nice article in _Software Practise
& Experience_ about stress testing a compiler via a generator.
It used random expansions of grammar rules to generate text that
was correct in a context-free sense, and added corruptions to
that token stream. I don't recall what (if anything) it did about
having identifier uses be (mostly) consistent with declarations.
One nice way to exercise a parser's syntactic error recovery scheme
is to feed it valid source code from a different programming language.
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.