haskell-cocoa-currency-converter-example
Haskell Python Objective-C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
scripts simplify main Jul 7, 2012
vendor use libffi Jul 6, 2012
xcodeproj simplify main Jul 7, 2012
.gitignore use libffi Jul 6, 2012
Nemesis no stub Jul 6, 2012
readme.md simplify main Jul 7, 2012

readme.md

Current implementation (GHC output binary)

OK, this method works. The steps performed by XCode after you hit Build:

  • A normal xcode build is performed
  • Run a custom python script that
    • delete the "main.o" object file
    • compile Main.hs with the rest of object files from XCode environment
    • replace the XCode generated binary with GHC's output

Reference:

Install

git clone $this

cabal install nemesis

pushd .

cd vendor/libffi
cabal install

popd

nemesis i

If everything loads, you could try the XCode project in xcodeproj

License:

BSD3