!7 p-exp { S s = "I saw a movie {the other day}"; // test bad spacing too L tok = javaTokPlusCurly_dontKeep_simpleSpaces(s); printStruct(tok); new AI_BottomUpParser1 parser; // not even needed (if you use simple spaces) // parser.categoriesAtWordIndex = litmap(4, ll("")); parser.parse(tok); PTElement tree = ai_parseBottomUpToTree(parser); ai_printParseTree(tree); parser.printWordsAndGroups(); }