command parser; expression resolution