On 13 April 2011 17:27, David Nadlinger <s...@klickverbot.at> wrote:

> On 4/13/11 5:16 PM, Trass3r wrote:
>
>> I think I also came across such a tool but I'm not sure if it was this
>> one.
>> Since it uses a grammar (subset) to generate the programs it should be
>> perfectly possible to adapt it for D.
>> Though it "is mainly intended to find bugs in the parts of a compiler
>> that perform transformations on an intermediate representation".
>>
>
> From what I recall from a quick look at the Csmith sources and Xuejun
> Yang's talk at the LLVM developer meeting, Csmith is tailored rather
> specifically to C, and isn't based on a grammar representation that could be
> easily swapped out…
>
> David
>

*Can Csmith be altered to emit programs in a language other than C or C++?* Not
easily.
http://embed.cs.utah.edu/csmith/using.html

-- 
// Yours sincerely
// Emil 'Skeen' Madsen

Reply via email to