Personal tools

Harpy

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
(Added section Examples, with a link to calc)
(Tutorials: Updated links)
 
(2 intermediate revisions by one user not shown)

Latest revision as of 12:49, 22 January 2013

Contents

[edit] 1 Description

Harpy is a library for run-time x86 code generation in Haskell programs. Harpy requires several Haskell extensions and GHC-specific features (Template Haskell, multi-parameter type classes and monad transformers). It is available from Hackage

[edit] 2 Limitations

  • 64-bit mode is not supported
  • MMX, SSE, SSE2 and SSE3 instructions and registers are not supported.
  • The disassembler supports (in principle) 64-bit mode and SSE instructions, but this has not been tested.
  • Buffer overflow checks have to be done manually with checkBufferSize or ensureBufferSize

[edit] 3 Tutorials

[edit] 4 Examples