Firefly is a project mainly written in Prolog, it's free.
Programmable LED light for bicycle
Programmable LED light
parts