Re: syntactically comprehensive test program



nob...@xxxxxxxxx wrote:
I need a syntactically comprehensive test program to test a C parser
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).

gcc comes bundled with it's own test routines. I also think P.J.
Plauger's dinkumware.com offers to certify compilers and libraries for
standard conformance.

.



Relevant Pages

  • Re: syntactically comprehensive test program
    ... syntactical elements of the language and combines them in cunning/ ... standard conformance. ... gcc-specific extensions. ...
    (comp.lang.c)
  • [LONG] Re: Why code completion and early error checking are needed
    ... > the programmer who wants such features. ... the guiding principles in the evolution of the c++ language should be ... the problem with this is that ide must first be able to assume ... libraries to find the type declaration. ...
    (comp.lang.cpp)
  • Re: So confused with scheme options
    ... Well known Libraries ... Implementation Extensions ... language, what's an expected library function for most implementations, ... This is the "module" language of PLT, ...
    (comp.lang.scheme)
  • Re: Verbose functional languages?
    ... believe it will be difficult to surpass the practical success of OCaml ... are writing good libraries for it). ... because the language was pushed with marketing money. ... Existing FPL implementations like OCaml and Haskell bask in the glory ...
    (comp.lang.functional)
  • Re: So confused with scheme options
    ... tower of libraries and procedures. ... language, what's an expected library function for most implementations, ... extension of blah or whatever. ... This is the "module" language of PLT, ...
    (comp.lang.scheme)