The commit https://github.com/neogeny/TatSu/commit/d0fe7b8806c678adcfb8aeae100b08add66b70c3 also modified such that only single level dicts/lists with Node values are added as children, where before mapping and list types were recursively checked for children. In the example above, model['add'].right becomes a dict with value {'term': {'mul': {'__class__': 'Multiply' ... because term nodes are now dict's instead of single entries.
New issue made, originally posted in https://github.com/neogeny/TatSu/issues/286.
calc_model.ebnf
Code to check children:
The commit https://github.com/neogeny/TatSu/commit/d0fe7b8806c678adcfb8aeae100b08add66b70c3 also modified such that only single level dicts/lists with Node values are added as children, where before mapping and list types were recursively checked for children. In the example above,
model['add'].right
becomes a dict with value{'term': {'mul': {'__class__': 'Multiply' ...
because term nodes are now dict's instead of single entries.