From: Ilias Lazaridis Date: 2011-06-02T21:15:26+09:00 Subject: Re: CORE - Alternative Variable Substitution On 2 Ιούν, 14:29, Peter Zotov wrote: >  On Thu, 2 Jun 2011 20:05:34 +0900, Ilias Lazaridis wrote: > > On 2 Ιούν, 10:02, Peter Zotov wrote: > >>  On Thu, 2 Jun 2011 13:25:25 +0900, Ilias Lazaridis wrote: > > >> > On 1 Ιούν, 16:22, Robert Klemme > >> wrote: > >> >> It can be as easy as > >> > [...] > > >> > You suggested implementation adds a new function. > > >> > At least, if you suggest an implementation, do it in the OO way > >> > (overloading the relevant method). > > >>  There is no separate method in Ruby which does the variable > >>  substitution. > >>  This functionality is hardcoded into lexer and parser. > > > I understand. > > > This means it is not easy, if not impossible to alter the behaviour. > > > Can I change this functionality with a C-level extension, but without > > altering the ruby source? > >  Definitely no (for MRI, at least). [...] (technical elaborations). Which means that it's effectively impossible to alter the behaviour, without altering the source-code. Thanks for the information. . -- http://lazaridis.com