From: Lothar Scholz Date: 2004-07-22T15:32:28+09:00 Subject: Re: nesting #{} problem Hello Hal, HF> Mehr, Assaph (Assaph) wrote: >>>|Seems like an IRB bug: >> >> >>>I'd call it IRB "limitation". IRB do not parse nested interpolation >> >> well. >> >> Sorry for the hasty judgement :) >> Doesn't IRB use the same parser as the regular Ruby for the user >> statements? HF> I don't think so. Ruby is based on yacc, and I think irb is HF> pure Ruby (no C?). Right. The problem is that yacc can't generate a state based incremental parser. And you need something like this when you want to parse ruby input line by line to see if the input now contains a complete statement for eval. -- Best regards, emailto: scholz at scriptolutions dot com Lothar Scholz http://www.ruby-ide.com CTO Scriptolutions Ruby, PHP, Python IDE 's