I’ve been noticing something with a new project using instaparse. It seems that everything I get out of the parser is wrapped in a list. I don’t recall having seen this behaviour before. Can someone enlighten me? :simple_smile:
After a couple of quick tests, it seems to be my particular grammar that causes this, but I'm not sure why.
@marcofiset: are you hiding the root tag (`<S> = ...`)? If so, this is by design as explained in this section of the readme: https://github.com/engelberg/instaparse#hiding-tags
You're right, that was it.
I decided not to ignore it instead, and introduced a hidden sub-expression which handles the recursivity.