In semtrex expressions, for example SEMTREX_GROUP, we store the group symbol as the surface of the root node. Similarly the MATCH_RESULTS root node's surface stores an integer match ID, despite the fact that it also has children.
Currently our symbol/structure definitional language doesn't have enough expressivity to declare structures like that, so either we have to increase the definitional expressivity or move those values the semtrex definitions into leaves.
In semtrex expressions, for example SEMTREX_GROUP, we store the group symbol as the surface of the root node. Similarly the MATCH_RESULTS root node's surface stores an integer match ID, despite the fact that it also has children.
Currently our symbol/structure definitional language doesn't have enough expressivity to declare structures like that, so either we have to increase the definitional expressivity or move those values the semtrex definitions into leaves.