Inside the designer's studio
November 27th, 2007 by ymendel 0 comments »
As is apparently a tradition for him, Rick wrote a tumblebot at RubyConf ‘07. This was done all BDD-style and it was very nice and modular, and apparently many people got very interested in it. From what I remember, Freenode #rubyconf was clamoring for the source(*), but that could mostly be because it was full of lazy people who didn’t want to write their own bots.
I got interested because I like playing with bots and this was something to get me looking at Autumn Leaves and git. It was also a way to poke at Rick’s stuff and make it better, which I’m always ready for. My ideas took his system of a main bot that handles a parser module and sender module and added a third: a filter. This not only gave more power, flexibility, and functionality to the bot, but (just as important) it made the parser cleaner and simpler.
We’ve mentioned that it might be important to let the filters occur in a very specific order, but we held off doing that until it was needed. It wasn’t long until we thought of filters where order would be nice, but not necessary. It took a little longer to think of filters where order was needed.
Okay, maybe the “pretty” part isn’t there yet. Give me time.
[*] for the bot source, “git clone http://git.ogconsultin.gs/nihilist_bot/”
Leave a Reply