Thu Mar 24 11:27:57 EDT 2016

A state machine language

It would be interesting to build a front end around a state machine
model I've been using recently.  See zwizwa.be/git/sm

The core element is an event queue.  An ordered list.

Lock-free structures are currently not needed.  There are a lot of
possible ways to implement this.  What is the canonical one?

A priority queue:
- remove max (min)
- insert

This[1] suggests a binary heap implementation.

[1] http://algs4.cs.princeton.edu/24pq/