Re: ANN: Etiquette: a protocol construction tool

Luke Gorrie <[email protected]> 29 Sep 2003 03:24:26 +0200
Newsgroups gmane.lisp.clump
Message-ID <[email protected]>
Eugene Zaikonnikov <[email protected]> writes:

> So it seems there is a number of ways how lightweight multiplexing of
> protocols can be achieved.

I just did some more non-blocking network state machine hacking, this
time in a way more similar to Etiquette -- I could be accused of
stealing some ideas :-).

Before I was working on decoding messages off the wire, but this time
it's the higher-level control part. We've been rewriting this program
over and over again, looking for neater formulations. This time it's
coded as a push-down automaton, which I think turned out to be pretty
cute because the protocol is essentially a context-free language. I
thought I'd post the code here to follow up our previous chatting:

  http://www.bluetail.com/~luke/misc/lisp/slime-pda.html

(That's just the relevant snippet from the program. It's Emacs Lisp.)

Cheers,
Luke