Skip to content

rintcius/purescript-aui

Repository files navigation

purescript-aui

Latest release Travis branch

Description

purescript-aui (Algebraic User Interface) is a library written in Purescript for specifying and showing (parts of) UI's.

This library firstly provides a DSL that allows you to specify a UI. Next, it provides interpreters that take care of showing these UI's.

Currently 2 interpreters have been implemented, one showing the UI using Flare and the other one showing it using dat.GUI.

Examples

The examples are derived from these Flare examples.

Build

# install dev dependencies
npm install

# build the project
npm run build

# build the examples
npm run build-examples

open resources/*.html   # in your favourite browser

Thanks!

Thanks to all developers of the purescript libs that this lib depends on. Apart from the core PS stuff, in particular purescript-flare, purescript-freeap and purescript-signal are a joy to depend on.

Finally, this lib is still very much an experiment at this stage and I'd be happy to receive feedback.