Modified grammar so that slot# is in <declare> and <assign> blocks.
started on declare visitor