Update to typedefs in bison grammar.
Convert children to node list, add seq and empty.