Skip to content

deech/fltkhs-fluid-demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fltkhs-fluid-demos

These are examples of building Haskell applications using the Fluid GUI builder to generate Haskell code. The src directory contains a set of .fl files which can be opened with Fluid, the GUI builder tool that ships with FLTK. The rest are Haskell files which contain the callbacks and drivers. FLTKHS ships with fltkhs-fluidtohs, a utility which translates the .fl files into Haskell. Setup.hs knows about the utility and automatically uses it to pre-process any .fl files into Haskell. This means installation (see below) is as simple as running stack install or cabal install.

Most of the demos are faithful ports of those shipped with FLTK so the user may compare them and learn how Fluid can be used to generate Haskell. More comprehensive documentation is planned, but until then hopefully side-by-side comparison is a good stopgap.

Installation

[FLTKHS] 1 now bundles the [FLTK] 5 source so all you need to do is:

> git clone http://github.com/deech/fltkhs-fluid-demos
> stack install --flag fltkhs:bundled
> stack exec fltkhs-fluid-tree

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published