Implemented basic grammar for vars handling.