From: gabriele renzi Date: 2003-10-09T06:50:37+09:00 Subject: Re: Extension Language for a Text Editor il Thu, 9 Oct 2003 05:06:32 +0900, Nikolai Weibull ha scritto:: my 2c: >Anyway, what I'm getting at is: > >Do you figure Ruby to be a good extension language for a text editor? >* What would be easier to do using Ruby? the learning curve for casual user would be really less hard, and it won't collide with already existing lisp based editors ;) >* What language allows the most of the editing commands to be written in > the given language? Well, given that tab expansion, string replacing/finding, byte/word/line count, justification and other stuff can be easily done with one line of ruby... Anyway, I think the apis you make available from the core of the editor would be something really important in this analisys. >* Is Ruby good enough for the task at the moment, performance wise? Sure :) >* Resource wise? Does anyone have any statistics on this? dunno >Also, is there any way of redefining the // operator for constructing >regular expression objects? I'm planning on implementing a new regex >syntax for the editor (to make searches/substitutions easier to >describe). well, you have the soruce code, dig in it and change what you need, if you really need it :) Anyway, why would you do such a thing ? the regex language is quite standardized now, why would you change it?