can you elaborate on MachineDesc and how to construct one for the local machine?
benedikt.huber at gmail.com
Mon Aug 29 23:28:08 BST 2011
On 24.08.2011, at 17:34, notsowelltyped at Safe-mail.net wrote:
> also, it's should be noted, that after some time spent toying with
> language-c i would like to express my appreciation for the all work
> you done on it.
> cool stuff, but requires more docs.
thanks, glad you like it. MachineDesc specifies the size (in bytes)
and alignment requirement (in bytes) on a certain architecture. I'm
not too familiar with the internals (implemented by Aaron Tomb), but
have a look at the machine description for i386 in src/Language/C/
Analysis/AstAnalysis.hs, and how it is used in src/Language/C/Analysis/
More information about the Language-c