Skip to content

OliverM/nerves

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nerves

It is impossible to say just what I mean!
But as if a magic lantern threw the nerves in patterns on a screen...

-- T. S. Eliot, Lovesong of J. Alfred Prufrock

A Clojure Statechart implementation, based on David Harel's Statecharts formalism, as discussed in Ian Horrocks' Constructing the User Interface with Statecharts.

Currently the implementation consists entirely of a clojure wrapper of a Java statechart implementation, UML Statechart Framwork. It can be used to specify statecharts usable on the JVM. Almost the entirety of USF has been covered, except for History and internal transitions (at the time of writing). A clojure representation of the example on the USF homepage is available in the USF test namespace.

Ultimately the goal is to produce a clojure-native implementation that can be run both on the JVM and compiled to JS via Clojurescript.

Usage

Currently the only examples are in the USF-test namespace. The library has been tested in production.

License

Copyright © 2016 Oliver Mooney

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

About

A Clojure Statecharts implementation.

Resources

License

Stars

Watchers

Forks

Packages

No packages published