haskades: Utility to generate bindings for BlackBerry Cascades

[ program, utility ] [ Propose Tags ]

Autogeneration of bindings for creating BlackBerry Cascades apps with Haskell back ends.

Run as:

./haskades HaskadesBinding.hs haskades_run.cpp < Types.hs

Where Types.hs is a Haskell file containing a record type declaration named Slots and a sum type declaration named Signals which fully specifies the communication possible between the UI layer (which you write in QML) and the Haskell backend. QML code can access these signals and slots on the app context object. Haskell code can emit signals by using the emit function exported from the generated HaskadesBinding. The emit call is threadsafe.

Text, Lazy Text, and String all end up as QString so that QML can work with them properly, and vice-versa. UTCTime becomes QDateTime. Int, Double, and () are passed through fairly directly. Other types may have support added as there is need.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.1.1, 0.2.0, 0.2.1
Dependencies base (>=4 && <5), bytestring, containers, errors, haskell-src, text, text-format [details]
License LicenseRef-OtherLicense
Copyright © 2012 Stephen Paul Weber
Author Stephen Paul Weber <singpolyma@singpolyma.net>
Maintainer Stephen Paul Weber <singpolyma@singpolyma.net>
Category Utility
Home page http://github.com/singpolyma/haskades
Bug tracker http://github.com/singpolyma/haskades/issues
Source repo head: git clone git://github.com/singpolyma/haskades.git
Uploaded by StephenWeber at 2013-01-12T22:28:45Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables haskades
Downloads 3428 total (14 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2016-12-22 [all 7 reports]

Readme for haskades-0.1

[back to package description]
Autogeneration of bindings for creating BlackBerry Cascades apps
with Haskell back ends.

Run as:

> ./haskades HaskadesBinding.hs haskades_run.cpp < Types.hs

Where Types.hs is a Haskell file containing a record type declaration
named 'Slots' and a sum type declaration named 'Signals' which fully
specifies the communication possible between the UI layer (which you
write in QML) and the Haskell backend.  QML code can access these
signals and slots on the 'app' context object.  Haskell code can emit
signals by using the 'emit' function exported from the generated
HaskadesBinding.  The 'emit' call is threadsafe.

Text, Lazy Text, and String all end up as QString so that QML can
work with them properly, and vice-versa.  UTCTime becomes QDateTime.
Int, Double, and () are passed through fairly directly.  Other types
may have support added as there is need.