Exploring E4X with Ruby
Subject:   Nice Idea
Date:   2004-10-15 21:50:43
From:   jherr2002
Response to: Nice Idea

Thanks. My pleasure.

My guess is that outside of a string literal it would be difficult to get Ruby to look at any operator symbol as anything other than just the operator.

I haven't tried something like this though: foo."-bar"

I'd try it out but I need some sleep.

I actually talked with the guys that did the E4X work in Javascript. They did a LOT of work in the tokenizer and lexical analyzer to support the entire XML standard in Javascript.