UPDATE (2007/09/12): The rewrite as part of Jane St. Capital's O'Caml Summer Project was
largely successful! The Fr module is now much more thread- and
side-effect-friendly, and the beginnings of the FrGui module have been
written to play more nicely with functional code. Unfortunately right now
development has slowed down due to school starting, but soon I will have the
syntax extension in place, as well as a proper (read: cycle-friendly)
implementation of pre. As always you can follow the
development in the darcs
repository.
The Objective Caml Reactive Toolkit is a functional reactive GUI toolkit for Objective Caml. It is currently still in development, but you can download a prerelease here or check out the darcs repository here. This package contains the Fr, FrGui, and experimental FrMidi systems. Installation instructions are included in the manual (below). Fr and FrGui have been tested on both Mac OS X and Linux but not on Windows (for which I have no development machine)... feedback about O'Caml RT on Windows would be greatly appreciated.
A reference manual describing the toolkit, as well as giving an overview of functional reactive programming, is available as a PDF here, but the best reference is the ocamldoc-generated documentation available for the Fr and FrGui packages. (Although these are included in the reference manual the ocamldoc LaTeX translator drops the @param tags.)
Although O'Caml RT is not yet ready for release, this page exists because I want to solicit feedback from other developers and researchers interested in functional reactive programming. Please feel free to send questions, comments, complaints, ideas, patches, etc. to colanderman AT gmail.com. My goal is to make the API easy-to-use and clear to read but powerful enough to implement complex UIs in. All feedback is greatly appreciated!
A tutorial is currently in the works; I have posted what I have so far. It should be enough to whet your appetite.
Enjoy!