Cliparser with grammar