Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: [OT] A C-language parser test file?

by GotToBTru (Prior)
on Aug 27, 2015 at 13:19 UTC ( [id://1140202]=note: print w/replies, xml ) Need Help??


in reply to [OT] A C-language parser test file?

You don't say specifically what you've searched for, only that it was half-hearted. On the off chance it was also half-brained, I'll make what is probably the obvious suggestion. Search for other C-compiler projects, not test files. In other words, when looking for a pencil sharpener, find the guy who uses lots of pencils.

Dum Spiro Spero
  • Comment on Re: [OT] A C-language parser test file?

Replies are listed 'Best First'.
Re^2: [OT] A C-language parser test file?
by BrowserUk (Patriarch) on Aug 27, 2015 at 13:45 UTC

    You mean like this? Or this?

    None of them are what I'm hoping for. They are intimately entwined with the testing philosophies and tools of the projects they are a part of; they cover the full variety of C-like languages; are broken up into dozens of separate files.

    Maybe what I want doesn't exist; but maybe it does and someone here knows where.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
    In the absence of evidence, opinion is indistinguishable from prejudice.
    I'm with torvalds on this Agile (and TDD) debunked I told'em LLVM was the way to go. But did they listen!

      I found https://gcc.gnu.org/onlinedocs/gccint/C-Tests.html which I then found better access to at https://github.com/gcc-mirror/gcc/tree/master/gcc/testsuite (the first link is actually talking about the gcc.dg subdirectory of the second). Lots of stuff in there so I didn't go trawling through there trying to guess if any of it might suite your needs.

      A compliance test suite would be a nice addition to something that has such a robust standard defined for it. I thought that was a fairly common thing for those old-style standards where you have to pay to get an official copy.

      - tye        

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1140202]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-04-20 04:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found