Hi,
What would you expect a Ruby parser to return after parsing an
interpolated string or regexp like for example
/a#{b+1}c/
?
Matz Ruby interpreter currently parses this into
Newline(Dregx("a"
Array(Evstr("b+1")
1
Array(Str("c")
1
nil))))
and then recursively parses the Evstr "b+1" when in evaluation of the
program with the regexp.
But if you have a separate parser (ie. not bound to a special
interpreter) would you expect the "b+1" string to
have been parsed in the Abstract Syntax Tree you get back?
Thanks,
Robert