> I tried to write a Scintilla lexer for Ruby today but gave up as it > was more complex than I thought. From the top of my head (which has sometime looked into parser briefly) I'd say the lexer eats one third of the code of the Ruby parser and that amounts to about 1800 rows of C out of 4800. Whether or not this is much, I can't say, but I think the code is quite straightforward anyway. Ruby is surely way easier than Perl. Well, I haven't ever done Perl lexer, or actually any lexer at all... :) In any case I like to thank you for your efforts already. I briefly glanced over Scintilla web site and I'd say that if Ruby community is going to set up anything equivalent for Python's Idle, Ruby aware Scintilla and portable GTK might be one quite nice way to go. I'm interested in what results you manage to produce. - Aleksi