From: Tony Arcieri Date: 2009-05-29T10:07:16+09:00 Subject: Re: Pythonic indentation (or: beating a dead horse) --0016e64615b068a93e046b02b25f Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Thu, May 28, 2009 at 6:52 PM, James Britt wrote: > What was the reason for remove indentation sensitivity? I was using a Python-style lexer in conjunction with a Ruby-like (almost) pure expression grammar, and running into the issues I've outlined in this thread regarding indent blocks in expressions. I detailed many of the problems in this blog post: http://unlimitednovelty.com/2009/03/indentation-sensitivity-post-mortem.html I'm surprised by how well the solutions others are coming up for this are working. The script J Haas found just throws regexes at the problem (and removes any degree of formal decidability), however the RubyLexer approach sounds interesting. That said, I have no regrets with ditching indentation sensitivity. If anything it seemed to alienate people who would otherwise be interested, and now Reia has the advantage of looking nearly identical to Ruby. Porting Ruby programs to Reia programs is now substantially easier. -- Tony Arcieri medioh.com --0016e64615b068a93e046b02b25f--