Re: syntactically comprehensive test program
- From: "Malcolm McLean" <regniztar@xxxxxxxxxxxxxx>
- Date: Wed, 28 Feb 2007 20:12:34 -0000
<nobrow@xxxxxxxxx> wrote in message
I need a syntactically comprehensive test program to test a C parserLook for a program called C torture, which is designed to stress compilers.
on. Does anyone know where I might find a program that uses all
syntactical elements of the language and combines them in cunning/
realistic ways so that one might be confident that a pass on this
program will mean a pass on any valid C program.
Big ask, but I thought someone might know of a suitable file(s).
Unfortunately it is extremely difficult to verify that a grammar parser is correct. Non-artificial bugs will often fail to manifest themselves on the vast majority of inputs. C torture is a good test, but not definitive by any means, which is why ANSI haven't endorsed it or any similar test suite.
--
Free games and programming goodies.
http://www.personal.leeds.ac.uk/~bgy1mm
.
- References:
- syntactically comprehensive test program
- From: nobrow
- syntactically comprehensive test program
- Prev by Date: Re: INT_MIN and compiler diagnostic
- Next by Date: Re: Comparing string input to enum data type
- Previous by thread: Re: syntactically comprehensive test program
- Next by thread: Re: syntactically comprehensive test program
- Index(es):
Relevant Pages
|