Note that I'm not claiming Ruby's parser and lexer are slow, or that they're the cause of any greater problems.  I'm just picking on them as one example of deeper differences between the Ruby and Lua designs/implementations.