Wow, that's nice. About your convert_to_hacker function: I think it would be a good idea to speed it up by using a one dimensional array for the conversion, similar to 'tolowertab' in src/match.c. (The reason I used switch() is, I didn't had to convert a wide range of characters.) Just my opinion.
OK ill look into that =] Thanks for the idea! second.. i have a question.. When i first did it using the swicth function it would not work becuase i was using more than one char, e.g k = '|(' but this wouldnt work... could you tell me how to do this? or will you leave me to find it out on my own