Implement syntax for auto determination of static array dimension

Implement syntax Type[$] and auto[$].