erlhive coming along

I presented erlhive at this year’s Erlang User Conference. Now there is a sourceforge project, for it.

For a web framework, I admit that we’re still a bit weak on the “web” part, but Joe has moved his web page template system into erlhive, and has a yaws-based authenticating front-end. We’re working on a basic multi-user blog as a first demo.

It’s a fun division of labour: Joe works on the front-end, and I work on the back-end. One of the cool additions to the back-end is the erlhive_shell, a version of the erlang shell that allows you to do only the stuff that’s legal in erlhive code. It offers the usual command history, record formatting, etc. of the erlang shell, and does tab completion very nicely – expanding erlhive usernames and accessible modules.

I also added built-in commands for tracing in the erlhive_shell. Calling trace(calls) turns on call tracing, and trace(off) turns it off. While on, a complete call trace is presented for each expression evaluated in the shell.

A fun project for a volunteer might be to write some JavaScript making the shell accessible through a web browser…