On 2 ον, 14:29, Peter Zotov <whitequ... / whitequark.org> wrote:
> On Thu, 2 Jun 2011 20:05:34 +0900, Ilias Lazaridis wrote:
> > On 2 Ϧ, 10:02, Peter Zotov <whitequ... / whitequark.org> wrote:
> >> On Thu, 2 Jun 2011 13:25:25 +0900, Ilias Lazaridis wrote:
>
> >> > On 1 Ϧ, 16:22, Robert Klemme <shortcut... / googlemail.com>
> >> 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