changed grammar, extracted ast elements from parser
inspect ast, get choices