[Haskell-cafe] Fwd: ANNOUNCE: hsqml-0.1.1 (and hsqml-morris-0.1.0)

Matthew West haskell-cafe at matthewwest.co.uk
Sat Sep 22 22:05:08 CEST 2012

 In case anyone is wondering this does not compile on vanilla Mac OS 10.6 because XCode 3.2 doesn't support C++11.  I believe that XCode 4.2 does support it however I've not yet paid Apple the $100 they want before I can download it for 10.6.  Macports has more recent versions of GCC however this option turned out to be fraught with difficulties[1][2].  Has anybody got HsQML working with XCode 4.2?


[1] https://trac.macports.org/wiki/UsingTheRightCompiler
[2] http://www.haskell.org/haskellwiki/Mac_OS_X_Strike_Force

On 11 Sep 2012, at 08:47, Robin KAY wrote:

> Dear All,
> I would like to announce a new package called 'hsqml' [1].
> HsQML provides a Haskell binding to the Qt Quick framework. It allows you to write graphical applications where the front-end is written in Qt Quick's QML language (incorporating JavaScript) and the back-end is written in Haskell. The two layers are coupled together via a facility to define custom JavaScript objects through which QML code can call into Haskell.
> HsQML requires an installation of Qt 4.7 (including QtDeclarative) or later on your path. It has been tested with GHC 7.4 on both Linux and Windows.
> There is also a simple example program available using HsQML on Hackage called 'hsqml-morris'. It implements a human v computer game of Nine Men's Morris with game logic and AI written in Haskell and the presentation layer in QML.
> The library is currently limited by a lack of support for Qt signals, so calls can only be made from JavaScript to Haskell and not the other way. I plan to add support for these in a future release. Migration over to Qt 5.x is also likely once it's released.
> [1] http://hackage.haskell.org/package/hsqml-0.1.1
> [2] http://hackage.haskell.org/package/hsqml-morris-0.1.0
> Regards,
> -- 
> Robin KAY

More information about the Haskell-Cafe mailing list