>unfortunately, the next most powerful notation after regular languages >is context-free grammars One could envison a regexp++ that handles the matching paren kind of stuff. For what it's worth, I don't think extending the syntax is the way to go. Put the base language in a good library, and let people write whatever frontends they want. Let a thousand interfaces bloom; a thousand points of interaction, etc.