From: Logan Capaldo Date: 2006-04-02T05:25:49+09:00 Subject: Re: strange order of execution --Apple-Mail-16-259683664 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On Mar 29, 2006, at 9:53 AM, James Edward Gray II wrote: > >> require "erb" > => true > >> ruby_code = "<%= 2 + 2 %>" > => "<%= 2 + 2 %>" > >> template = ERB.new(ruby_code) > => # > >> template.result > => "4" > > ? If I may interject, in Lisp, you can do the equivalent of hooking into the lexer, and then expanding something into a new sequence of tokens, this is what he means by reader. --Apple-Mail-16-259683664--