On Thu, May 28, 2009 at 8:38 PM, Caleb Clausen <vikkous / gmail.com> wrote:
> On 5/28/09, J Haas <Myrdred / gmail.com> wrote:
>>> So then that means the common indentataion of:
>>>
>>> def foo
>>> bar
>>> rescue
>>> 
>>>
>>> would also break?
>>
>> I don't know if it works in Caleb's script, but this need not cause
>> any problems in a proper implementation of syntactic indentation, any
>> more than:
>
> Indeed. rescue, when, else, elsif, and ensure are special-cased. If
> they occur on the beginning of a line with the same indentation level
> as the last line with a beginword, an extra end is not inserted.

Caleb, have you thought about toying around with forking Ruby and
invoking your pre-processor automatically in some way?   I think
that'd turn this conversation into something much more productive.

Even if it's not a realistic implementation at first, it could lead to
productive discussion on how it could be integrated, and what
syntactic changes it would need to make Matz happy.

-greg