<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-1257969457375562525.post4387752407903857487..comments</id><updated>2009-03-11T08:37:52.114-07:00</updated><category term='rubyconf'/><category term='ruby'/><category term='reia peg'/><category term='speed'/><category term='scala'/><category term='birthday'/><category term='clojure'/><category term='erlang'/><category term='ubuntu linux jackalope'/><category term='revactor'/><category term='eventmachine'/><category term='smalltalk'/><category term='perl'/><category term='peridot'/><category term='oop'/><category term='youtube'/><category term='parsing'/><category term='software transactional memory'/><category term='reia'/><category term='rock band'/><category term='jvm'/><category term='concurrency'/><category term='distributed computing'/><category term='state'/><category term='electronics'/><category term='scroobius pip'/><category term='object oriented programming'/><category term='destructive assignment'/><category term='rihanna'/><category term='beatles'/><category term='rev'/><category term='python'/><category term='new media'/><category term='actor model'/><category term='viacom'/><category term='unix'/><category term='identity'/><category term='twitter'/><category term='celluloid'/><category term='erlang factory'/><category term='indentation'/><category term='fair use'/><category term='async'/><category term='repetitive generic music'/><category term='json'/><category term='hipe'/><title type='text'>Comments on Unlimited Novelty: Indentation sensitivity: a post-mortem?</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.unlimitednovelty.com/feeds/4387752407903857487/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1257969457375562525/4387752407903857487/comments/default'/><link rel='alternate' type='text/html' href='http://www.unlimitednovelty.com/2009/03/indentation-sensitivity-post-mortem.html'/><author><name>Tony</name><uri>http://www.blogger.com/profile/05698660503129206682</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1257969457375562525.post-6802563430655744030</id><published>2009-03-11T08:37:00.000-07:00</published><updated>2009-03-11T08:37:00.000-07:00</updated><title type='text'>If you want to support templating languages, then ...</title><content type='html'>If you want to support templating languages, then you really should support some kind of AST that template languages can compile down into.  Generating source code from a template is half-assed at best.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1257969457375562525/4387752407903857487/comments/default/6802563430655744030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1257969457375562525/4387752407903857487/comments/default/6802563430655744030'/><link rel='alternate' type='text/html' href='http://www.unlimitednovelty.com/2009/03/indentation-sensitivity-post-mortem.html?showComment=1236785820000#c6802563430655744030' title=''/><author><name>Ian Bicking</name><uri>http://www.blogger.com/profile/14191618747406426837</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.unlimitednovelty.com/2009/03/indentation-sensitivity-post-mortem.html' ref='tag:blogger.com,1999:blog-1257969457375562525.post-4387752407903857487' source='http://www.blogger.com/feeds/1257969457375562525/posts/default/4387752407903857487' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-942866646'/></entry><entry><id>tag:blogger.com,1999:blog-1257969457375562525.post-5364807335942505441</id><published>2009-03-08T08:37:00.000-07:00</published><updated>2009-03-08T08:37:00.000-07:00</updated><title type='text'>Hey Tony,&lt;br&gt;&lt;br&gt;While it doesn't suit the express...</title><content type='html'>Hey Tony,&lt;BR/&gt;&lt;BR/&gt;While it doesn't suit the expressions-only approach you desire, I came up with a Pythonic way to do Ruby blocks:&lt;BR/&gt;&lt;BR/&gt;* http://tav.espians.com/ruby-style-blocks-in-python.html&lt;BR/&gt;&lt;BR/&gt;Hope it's useful.&lt;BR/&gt;&lt;BR/&gt;Let me know what you think and keep up the great work with Reia!&lt;BR/&gt;&lt;BR/&gt;-- Thanks, tav</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1257969457375562525/4387752407903857487/comments/default/5364807335942505441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1257969457375562525/4387752407903857487/comments/default/5364807335942505441'/><link rel='alternate' type='text/html' href='http://www.unlimitednovelty.com/2009/03/indentation-sensitivity-post-mortem.html?showComment=1236526620000#c5364807335942505441' title=''/><author><name>tav</name><uri>http://www.blogger.com/profile/08305590711045918911</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://3.bp.blogspot.com/_SAUFT8Lg8kE/SX2pcjatkRI/AAAAAAAAAIE/ekPCS6EcV4c/S220/aaken.png'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.unlimitednovelty.com/2009/03/indentation-sensitivity-post-mortem.html' ref='tag:blogger.com,1999:blog-1257969457375562525.post-4387752407903857487' source='http://www.blogger.com/feeds/1257969457375562525/posts/default/4387752407903857487' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-634387748'/></entry><entry><id>tag:blogger.com,1999:blog-1257969457375562525.post-4405340270519013681</id><published>2009-03-05T18:33:00.000-08:00</published><updated>2009-03-05T18:33:00.000-08:00</updated><title type='text'>You could extend into a second dimension. By that ...</title><content type='html'>You could extend into a second dimension. By that I mean that a line of code is a horizontal sequence of terms, but some of those terms could extend vertically. You would need an editor which would let you insert a multi-line section of text into a line. A bit tricky in normal editors, though...</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1257969457375562525/4387752407903857487/comments/default/4405340270519013681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1257969457375562525/4387752407903857487/comments/default/4405340270519013681'/><link rel='alternate' type='text/html' href='http://www.unlimitednovelty.com/2009/03/indentation-sensitivity-post-mortem.html?showComment=1236306780000#c4405340270519013681' title=''/><author><name>Matthew</name><uri>http://www.blogger.com/profile/11189784813939191087</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.unlimitednovelty.com/2009/03/indentation-sensitivity-post-mortem.html' ref='tag:blogger.com,1999:blog-1257969457375562525.post-4387752407903857487' source='http://www.blogger.com/feeds/1257969457375562525/posts/default/4387752407903857487' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-897524467'/></entry><entry><id>tag:blogger.com,1999:blog-1257969457375562525.post-4051633749191047523</id><published>2009-03-05T10:22:00.000-08:00</published><updated>2009-03-05T10:22:00.000-08:00</updated><title type='text'>So I was considering a similar problem, since I&amp;#3...</title><content type='html'>So I was considering a similar problem, since I&amp;#39;m also trying to design a programming language as a small side project.  It&amp;#39;s much less serious, and more of a playground for ideas.&lt;BR/&gt;&lt;BR/&gt;For our language, we went the statements/expressions route, but I think you can hack blocks back into a statement grammar.  We came up with a syntax something like this:&lt;BR/&gt;&lt;BR/&gt;my_dict.items().each(&amp;amp;) func(k, v):&lt;BR/&gt;    ...&lt;BR/&gt;    ...&lt;BR/&gt;&lt;BR/&gt;The idea is similar to the Ruby innovation of putting the block code outside of the parenthesis as one would have in Lisp.  Here, you go further, and just use s simple syntactic placeholder (I picked &amp;amp; since we weren&amp;#39;t using it for bitwise and), and just put it at the end of the line.  You could nest blocks, but you could not have more than one per statement.  It seems like you can&amp;#39;t do that in Ruby either, and I think having multiple blocks stuffed into the same statement would be super confusing.&lt;BR/&gt;&lt;BR/&gt;Of course, in your case you&amp;#39;d have to abandon things like:&lt;BR/&gt;&lt;BR/&gt;x = if b&lt;BR/&gt;  &amp;#39;b&amp;#39;&lt;BR/&gt;else&lt;BR/&gt;  &amp;#39;c&amp;#39;&lt;BR/&gt;&lt;BR/&gt;But we didn&amp;#39;t want that syntax anyway.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1257969457375562525/4387752407903857487/comments/default/4051633749191047523'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1257969457375562525/4387752407903857487/comments/default/4051633749191047523'/><link rel='alternate' type='text/html' href='http://www.unlimitednovelty.com/2009/03/indentation-sensitivity-post-mortem.html?showComment=1236277320000#c4051633749191047523' title=''/><author><name>Reid Kleckner</name><uri>http://www.blogger.com/profile/10131127807440335781</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.unlimitednovelty.com/2009/03/indentation-sensitivity-post-mortem.html' ref='tag:blogger.com,1999:blog-1257969457375562525.post-4387752407903857487' source='http://www.blogger.com/feeds/1257969457375562525/posts/default/4387752407903857487' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1267603765'/></entry><entry><id>tag:blogger.com,1999:blog-1257969457375562525.post-2481861897436053305</id><published>2009-03-05T09:57:00.000-08:00</published><updated>2009-03-05T09:57:00.000-08:00</updated><title type='text'>The force is strong in this one; he will join the ...</title><content type='html'>The force is strong in this one; he will join the dark side. :)&lt;BR/&gt;&lt;BR/&gt;Thanks for the explanation, Tony. I never bothered to understand it at this level.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1257969457375562525/4387752407903857487/comments/default/2481861897436053305'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1257969457375562525/4387752407903857487/comments/default/2481861897436053305'/><link rel='alternate' type='text/html' href='http://www.unlimitednovelty.com/2009/03/indentation-sensitivity-post-mortem.html?showComment=1236275820000#c2481861897436053305' title=''/><author><name>Brian Ford</name><uri>http://www.blogger.com/profile/01782186765886513865</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.unlimitednovelty.com/2009/03/indentation-sensitivity-post-mortem.html' ref='tag:blogger.com,1999:blog-1257969457375562525.post-4387752407903857487' source='http://www.blogger.com/feeds/1257969457375562525/posts/default/4387752407903857487' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1144012953'/></entry></feed>
