Skip to content

BlockScope/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

# if purescript and pulp are already installed
npm install --production  

# or to install purescript and pulp locally
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.

About

Algebraic UI's in Purescript

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PureScript 45.9%
  • HTML 36.2%
  • JavaScript 14.8%
  • CSS 2.4%
  • Shell 0.7%