Support nested sub-expressions with standard POSIX $(...) syntax
Refactor handler to use new parse tree