Message195698
I suppose I'm one of the more qualified people to comment on how Ruby does it: a mess of hacks in the lexer/parser. Ruby's case is complicated by the fact that a bare `foo` can either be a local variable or a method call on self. Consider the case `a +b`, should that be parsed as a call to a with a unary + on b, or an addition? In Ruby this depends on whether `a` is already defined as a local. Basically I think this is a terrible idea, and would encourage as strongly as possible to not consider this. |
|
Date |
User |
Action |
Args |
2013-08-20 15:20:07 | alex | set | recipients:
+ alex, gvanrossum, ncoghlan, peter.otten, pitrou, ezio.melotti, Ramchandra Apte, serhiy.storchaka |
2013-08-20 15:20:07 | alex | set | messageid: <1377012007.45.0.0795665512581.issue18788@psf.upfronthosting.co.za> |
2013-08-20 15:20:07 | alex | link | issue18788 messages |
2013-08-20 15:20:07 | alex | create | |
|