There is a enormous bunch of C code out there on the internet. It is not that 
hard to simply take arbitrary commentaries and variable names from it, then 
using it to replace GHC's "jjaksh34$"-like variables in the core.

Doing objective-c is a bit harder, as you have to use the objects, or else the 
choice of objective-c instead of c would look suspicious. This requires to find 
the rules that make an object programmer happy.


El 27/05/2010, a las 02:40, Ketil Malde escribió:

> <b...@telenet.be> writes:
> 
>> Or maybe this would be a nice research topic: how to generate C code
>> that looks like it’s human written…  
> 
> Nah, that's too easy: just add a sprinkling of buffer overflows,
> undefined behavior, and off-by one index errors.
> 
> -k
> -- 
> If I haven't seen further, it is by standing in the footprints of giants
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to