Improved bad indirection detection
Reformatted ugly AST definition
Parser support for $[..], plus deprecation warning.